|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemUDActionSubsystem com.ibm.etools.iseries.rse.ui.uda.QSYSUDActionSubsystem com.ibm.etools.iseries.rse.ui.uda.NFSUDActionSubsystem
public class NFSUDActionSubsystem
Field Summary | |
---|---|
static String |
copyright
|
static int |
DOMAIN_MEMBER
|
static int |
DOMAIN_OBJECT
|
static String[] |
DOMAINS
|
static String[][] |
IBMTYPES_MBR_V5
IBM supplied member types |
static String[][] |
IBMTYPES_OBJ_V5
IBM supplied object types |
static String |
XE_DOMTYPE
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.uda.QSYSUDActionSubsystem |
---|
ATTR_RUNENV, Copyright, msgs, RUNENV_BATCH, RUNENV_INTERACTIVE, RUNENV_NORMAL, TEMPMBR_FILE, TEMPMBR_LIB |
Constructor Summary | |
---|---|
NFSUDActionSubsystem()
Constructor |
|
NFSUDActionSubsystem(ISubSystem subsystem,
ISubSystemConfiguration ssc,
ISystemProfile profile)
|
Method Summary | |
---|---|
protected boolean |
doActionsMigration(ISystemProfile profile,
String oldRelease)
Overridable extension point for child classes to do migration of their actions. |
protected boolean |
doTypesMigration(ISystemProfile profile,
String oldRelease)
Overridable extension point for child classes to do migration of their types. |
SystemCmdSubstVarList |
getActionSubstVarList(int actionDomainType)
Return the list of substitution variables for the given domain type. |
SystemUDTypeEditPane |
getCustomUDTypeEditPane(ISystemUDAEditPaneHoster parent,
ISystemUDTreeView tv)
|
protected int |
getDomainFromSelection(IStructuredSelection selection)
Parent override. |
Image |
getDomainImage(int domain)
Get the domain icon to show in the tree views |
String[] |
getDomainNames()
Get the list of untranslated domain names |
Image |
getDomainNewImage(int domain)
Get the domain icon to show in the tree views, for the new item for this domain |
IHost |
getHost(Object element)
|
int |
getMaximumDomain()
Parent override. |
String |
getOSType()
|
String[] |
getXlatedDomainNames()
Get the list of translated domain names |
String[] |
getXlatedDomainNewNames()
Get the list of translated domain names for "new" nodes in tree view |
String[] |
getXlatedDomainNewTypeNames()
Get the list of translated domain names for use in the tree view, for the "New" nodes, in the Work With User Types dialog. |
boolean |
hasUnsupportedSubstitutionVars(Object action,
int domain)
Check to see if the given action in the given domain contains substitution variables we don't support yet. |
String |
internalGetSubstitutionValue(SystemUDActionElement currentAction,
String subvar,
Object subvarDE)
Required override of parent for doing substitutions for our unique variables. |
protected boolean |
isMatch(Object actionType,
Object selectedObject,
int domainType)
Parent override. |
SystemUDActionElement[] |
primeDefaultActions(SystemUDActionManager udad,
ISystemProfile profile)
Prime the user data with the default actions. |
SystemUDTypeElement[] |
primeDefaultTypes(SystemUDTypeManager typeMgr)
Prime the user data with the default types. |
protected void |
processingSelection(boolean processingSelection)
Method called at the start and end of running user actions This allows children a chance to perform some action before and after the actions are run by overriding this method. |
boolean |
restoreDefaultAction(SystemUDActionElement element,
int domain,
String actionName)
Given this IBM-supplied user action, restore it to its IBM-supplied state. |
boolean |
restoreDefaultType(SystemUDTypeElement element,
int domain,
String typeName)
Given this IBM-supplied named type, restore it to its IBM-supplied state |
protected boolean |
runCommand(Shell shell,
SystemUDActionElement action,
String cmdString,
IRemoteCmdSubSystem cmdSubSystem,
Object context,
Viewer viewer)
After an action's command has been resolved (vars substituted) this method is called to actually do the remote command execution |
boolean |
supportsDomains()
Return true if the action/type manager supports domains. |
boolean |
supportsTypes()
Return true if actions can be scoped by file types The iSeries native file system does support types |
Methods inherited from class com.ibm.etools.iseries.rse.ui.uda.QSYSUDActionSubsystem |
---|
collectNames, collectNamesQSYS, getAllNamesSubstitutionVariable, getCommandSubsystem, getCustomUDActionEditPane, getNameDelimiter, getRunnableContext, getSubstitutionValue, getWorkingOfflineMode, printTestActionInvokeOnceInformation, promptCommand, run |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
public static final String XE_DOMTYPE
public static final String[] DOMAINS
public static final int DOMAIN_OBJECT
public static final int DOMAIN_MEMBER
public static final String[][] IBMTYPES_OBJ_V5
public static final String[][] IBMTYPES_MBR_V5
Constructor Detail |
---|
public NFSUDActionSubsystem()
public NFSUDActionSubsystem(ISubSystem subsystem, ISubSystemConfiguration ssc, ISystemProfile profile)
Method Detail |
---|
public SystemUDTypeEditPane getCustomUDTypeEditPane(ISystemUDAEditPaneHoster parent, ISystemUDTreeView tv)
public SystemCmdSubstVarList getActionSubstVarList(int actionDomainType)
protected boolean doActionsMigration(ISystemProfile profile, String oldRelease)
protected boolean doTypesMigration(ISystemProfile profile, String oldRelease)
public boolean supportsTypes()
public boolean supportsDomains()
public SystemUDTypeElement[] primeDefaultTypes(SystemUDTypeManager typeMgr)
public SystemUDActionElement[] primeDefaultActions(SystemUDActionManager udad, ISystemProfile profile)
public boolean restoreDefaultAction(SystemUDActionElement element, int domain, String actionName)
public boolean restoreDefaultType(SystemUDTypeElement element, int domain, String typeName)
public String internalGetSubstitutionValue(SystemUDActionElement currentAction, String subvar, Object subvarDE)
protected int getDomainFromSelection(IStructuredSelection selection)
protected boolean isMatch(Object actionType, Object selectedObject, int domainType)
actionType
- - an unnamed file type, as in "*.cpp"selectedObject
- - one of the currently selected remote objectsdomainType
- - integer representation of current domainpublic boolean hasUnsupportedSubstitutionVars(Object action, int domain)
public int getMaximumDomain()
public String[] getDomainNames()
public String[] getXlatedDomainNames()
public String[] getXlatedDomainNewNames()
public String[] getXlatedDomainNewTypeNames()
public Image getDomainImage(int domain)
public Image getDomainNewImage(int domain)
protected boolean runCommand(Shell shell, SystemUDActionElement action, String cmdString, IRemoteCmdSubSystem cmdSubSystem, Object context, Viewer viewer)
runCommand
in class QSYSUDActionSubsystem
shell
- - the shell to use if need to prompt for password or show msg dialogaction
- - the action being processed, in case attributes of it need to be queriedcmdString
- - the resolved commandcmdSubSystem
- - this connection's command subsystem, which will run the commandcontext
- - any context information the subsystem's runCommand might need
protected void processingSelection(boolean processingSelection)
true
- before proecssing, false after processingpublic String getOSType()
getOSType
in class QSYSUDActionSubsystem
public IHost getHost(Object element)
getHost
in class QSYSUDActionSubsystem
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |