public class OdsxATFFilterCommand extends FwkCommand
This command uses ASCOBA to create the ATF file.
The environment variable ASCOBA_INI must be available.
The command find the right service via the type definition of the service.
There are three possible entries.
Property Keyword | Datatype | Default | Description |
---|---|---|---|
OdsxATFFilter.Text.Create | String | OdsxATFFilter.Text.Create | The text key for the command. |
Icon.ATF_Save | String | com/highqsoft/fwk/images/ATF_Save.gif | The icon for the command. |
OdsxSessionFactory.ATF.Directory | String | the home directory | The starting directory. |
OdsxATFFilter.Text.NormalATF | String | OdsxATFFilter.Text.NormalATF | The text string for the radio button to save as ASCII ATF. |
OdsxATFFilter.Text.BinBlock | String | OdsxATFFilter.Text.BinBlock | The text string for the radio button to save as CHANNEL mode ATF. |
OdsxATFFilter.Text.BinChannel | String | OdsxATFFilter.Text.BinChannel | The text string for the radio button to save as CHANNEL mode ATF. |
OdsxATFFilter.Text.BinChannel | String | OdsxATFFilter.Text.WithReference | The text string for the radio button to write the atf with reference. |
OdsxATFFilter.Text.BinChannel | String | OdsxATFFilter.Text.Verbose | The text string for the radio button to write the atf verbose. |
OdsxATFFilter.Text.BinChannel | String | OdsxATFFilter.Text.Verbose | The text string for the radio button to write the atf verbose. |
OdsxATFFilter.ATF.WithRef | Boolean | true | This flag signals the object to call ascoba with the reference flag. |
OdsxATFFilter.ATF.Verbose | Boolean | false | This flag signals the object to call ascoba with the verbose flag. |
OdsxATFFilterCommand.ATF.Enabled | Boolean | false | Set this flag to have the ATF creation
command in the popup menu of a tree element.
Read the ATHOS and ASCOBA system documentation first! |
,
Serialized FormModifier and Type | Class and Description |
---|---|
class |
OdsxATFFilterCommand.AtfSaveDialog |
class |
OdsxATFFilterCommand.ExecThread
The execution thread.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
actionListeners, buttonClass, commandName, helpID, icon, iconKey, instruction, menuEventEnabled, menuItemClass, menuListeners, mnemonic, properties, radioGroupState, registry, sensitive, separator, text, textKey, toggle, toggleState, toolBarEnabled, toolTipKey, toolTipText, visible
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, ICON, iconCount, internetAddress, name, titleName
CONTROLLER_PROPERTY, MENU_REASON_CANCELED, MENU_REASON_DESELECTED, MENU_REASON_SELECTED
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
OdsxATFFilterCommand(FwkControllerInterface controller)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
commandAvailableForSession(OdsxSessionInterface session)
Returns a boolean whether the command is usable for current session.
|
boolean |
execute(java.util.EventObject ev)
The executer method.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
static boolean |
hasServices()
Returns a boolean whether the command has usable services found.
|
protected java.lang.String |
replaceFirstEscapeSeq(java.lang.String in,
java.lang.String esc,
java.lang.String rep,
boolean enclose)
The escape sequenz method.
|
addActionListener, addCommand, addCommand, addMenuListener, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getActionListenerArray, getButtonClass, getCommand, getCommandName, getCommands, getController, getGroup, getHelpID, getIcon, getIconKey, getMenuEventEnabled, getMenuItemClass, getMenuListenerArray, getMnemonic, getProperties, getProperty, getRadioGroupState, getSensitivity, getSeparator, getText, getTextKey, getToggle, getToggleState, getToolBarEnabled, getToolTipKey, getToolTipText, getVisibility, groupExists, hasActionListeners, hasMenuListeners, isParent, menuSelect, register, registeredObjects, registrySize, removeActionListener, removeCommand, removeFromGroup, removeMenuListener, setAsParent, setButtonClass, setCommandName, setCommands, setController, setHelpID, setIcon, setIconKey, setMenuEventEnabled, setMenuItemClass, setMnemonic, setProperty, setRadioGroupState, setSensitivity, setSeparator, setText, setTextKey, setToggle, setToggleState, setToolBarEnabled, setToolTipKey, setToolTipText, setVisibility, toString, unregister
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIconKey, setName, setSupportEMail, setTitleName
getNiceVersion, release
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPresentationString, getPresentationString
release
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
public static final java.lang.String version
public OdsxATFFilterCommand(FwkControllerInterface controller)
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class FwkCommand
public static boolean hasServices()
public static boolean commandAvailableForSession(OdsxSessionInterface session)
protected java.lang.String replaceFirstEscapeSeq(java.lang.String in, java.lang.String esc, java.lang.String rep, boolean enclose)
in
- The default string.esc
- The escape sequenz.rep
- The too replace string.enclose
- Boolean, enclose rep string in "" if there is a blank in it.public boolean execute(java.util.EventObject ev)
execute
in interface FwkCommandInterface
execute
in class FwkCommand
the
- event.