Package org.omegat.externalfinder.item
Class ExternalFinderItem
- java.lang.Object
-
- org.omegat.externalfinder.item.ExternalFinderItem
-
public final class ExternalFinderItem extends java.lang.Object
A data class representing an ExternalFinder "item". Immutable. UseExternalFinderItem.Builder
to construct.In the original plugin, the character
_
in the name was used to indicate a mnemonic; upon setting the name the mnemonic character was extracted and the_
removed. We now do not modify the name, and we leave mnemonic setting up to the Mnemonics library so&
is the character to use.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalFinderItem.Builder
static class
ExternalFinderItem.ENCODING
static class
ExternalFinderItem.SCOPE
static class
ExternalFinderItem.TARGET
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PLACEHOLDER_TARGET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<ExternalFinderItemCommand>
getCommands()
java.lang.Object
getContentSummary()
javax.swing.KeyStroke
getKeystroke()
java.lang.String
getName()
ExternalFinderItem.SCOPE
getScope()
java.util.List<ExternalFinderItemURL>
getURLs()
int
hashCode()
static boolean
isASCII(java.lang.String s)
boolean
isAsciiOnly()
boolean
isNonAsciiOnly()
boolean
isNopopup()
-
-
-
Field Detail
-
PLACEHOLDER_TARGET
public static final java.lang.String PLACEHOLDER_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getURLs
public java.util.List<ExternalFinderItemURL> getURLs()
-
getCommands
public java.util.List<ExternalFinderItemCommand> getCommands()
-
getKeystroke
public javax.swing.KeyStroke getKeystroke()
-
isNopopup
public boolean isNopopup()
-
getScope
public ExternalFinderItem.SCOPE getScope()
-
isAsciiOnly
public boolean isAsciiOnly()
-
isNonAsciiOnly
public boolean isNonAsciiOnly()
-
isASCII
public static boolean isASCII(java.lang.String s)
-
getContentSummary
public java.lang.Object getContentSummary()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-