-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
49 changed files
with
1,434 additions
and
2,419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. | ||
package com.liuzhihang.toolkit; | ||
|
||
import com.intellij.DynamicBundle; | ||
import org.jetbrains.annotations.*; | ||
|
||
import java.util.function.Supplier; | ||
|
||
public final class ToolkitBundle extends DynamicBundle { | ||
|
||
@NonNls | ||
private static final String BUNDLE = "messages.ToolkitBundle"; | ||
private static final ToolkitBundle INSTANCE = new ToolkitBundle(); | ||
|
||
private ToolkitBundle() { | ||
super(BUNDLE); | ||
} | ||
|
||
@NotNull | ||
public static @Nls | ||
String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object... params) { | ||
return INSTANCE.getMessage(key, params); | ||
} | ||
|
||
@NotNull | ||
public static Supplier<String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object... params) { | ||
return INSTANCE.getLazyMessage(key, params); | ||
} | ||
} |
58 changes: 0 additions & 58 deletions
58
src/main/java/com/liuzhihang/toolkit/action/Base64OperateAction.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.