Package org.omegat.externalfinder.item
Class ExternalFinderItem.Builder
java.lang.Object
org.omegat.externalfinder.item.ExternalFinderItem.Builder
- Enclosing class:
- ExternalFinderItem
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCommand(ExternalFinderItemCommand command) build()static ExternalFinderItem.Builderfrom(ExternalFinderItem item) getName()getScope()getURLs()booleansetCommands(List<ExternalFinderItemCommand> commands) setKeyStroke(KeyStroke keystroke) Optionally prepend&to a character to set a mnemonic for use in menus.setNopopup(boolean nopopup) setScope(ExternalFinderItem.SCOPE scope) setURLs(List<ExternalFinderItemURL> urls) voidvalidate()
-
Field Details
-
scope
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
-
setName
Optionally prepend&to a character to set a mnemonic for use in menus. -
getName
-
addURL
-
setURLs
-
getURLs
-
addCommand
-
setCommands
-
getCommands
-
setKeyStroke
-
getKeyStroke
-
setNopopup
-
isNopopup
public boolean isNopopup() -
setScope
-
getScope
-
build
-
validate
-