|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.ui.uda.SystemUDBaseManager
com.ibm.etools.systems.core.ui.uda.SystemUDActionManager
Instances of this class hold the UDA definitions unique to:
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.uda.SystemUDBaseManager |
---|
_udas, EMPTY_ARRAY, importCaseFolder |
Fields inherited from interface com.ibm.etools.systems.core.ui.uda.ISystemXMLElementWrapperFactory |
---|
Copyright |
Fields inherited from interface com.ibm.etools.systems.core.ui.uda.ISystemUDAConstants |
---|
NAME_ATTR, ORIGINAL_NAME_ATTR, RELEASE_ATTR, XE_DOMAIN, XE_DOMNAME, XE_DOMTYPE |
Constructor Summary | |
---|---|
SystemUDActionManager(SystemUDActionSubsystem udas)
Constructor |
Method Summary | |
---|---|
SystemUDActionElement |
addAction(SystemProfile profile,
String name,
int domain)
Add a user-defined action |
SystemXMLElementWrapper |
createElementWrapper(Element xmlElementToWrap,
SystemProfile profile,
int domain)
Given an xml element node, create an instance of the appropriate subclass of SystemXMLElementWrapper to represent it. |
protected boolean |
doMigration(SystemProfile profile,
String oldRelease)
Overridable method for child classes to do migration of their document. |
SystemUDActionElement[] |
getActions(Vector v,
SystemProfile profile,
int domain)
Return xml element wrapper objects for all actions, for the given domain, or for the whole document if domain is -1 (iff domains not supported). |
SystemUDActionElement[] |
getAllActions(Vector v,
SystemProfile profile)
Return all the actions for the given profile, in all domains. |
protected IFolder |
getDocumentFolder(SubSystemFactory subsystemFactory,
SystemProfile profile)
Get the folder containing the xml file used to persist the actions, for the given profile |
String |
getDocumentRootTagName()
Get the document root tag name. |
String |
getFileName()
Get name of the xml file used to persist the actions. |
Image |
getNewImage()
Get the icon to show in the tree views, for the "new" expandable item |
protected String |
getNewNodeLabel()
Parent method override for returning the "New" icon label for the Work With dialog tree view. |
String |
getTagName()
Return the tag name for our managed elements. |
boolean |
hasActions(SystemProfile profile,
SubSystemFactory ssFactory)
Return true if there are any actions, currently. |
protected boolean |
isUserActionsManager()
Return true if this is user actions, false if this is named types. |
SystemXMLElementWrapper[] |
primeDocument(SystemProfile profile)
Prime the given document with any default actions/types Should be overridden! |
void |
setFolder(String profileName,
String factoryId)
Intended for IMPORT actions only, where no Subsystem instance available: |
boolean |
supportsProfiles()
Return true if the elements managed by this class are scoped by profile. |
protected boolean |
uppercaseName()
Do we uppercase the value of the "Name" attribute? |
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
Constructor Detail |
public SystemUDActionManager(SystemUDActionSubsystem udas)
Method Detail |
protected boolean isUserActionsManager()
isUserActionsManager
in class SystemUDBaseManager
public Image getNewImage()
getNewImage
in class SystemUDBaseManager
protected String getNewNodeLabel()
getNewNodeActionLabel()
.
Do not override this.
getNewNodeLabel
in class SystemUDBaseManager
protected boolean doMigration(SystemProfile profile, String oldRelease)
doMigration
in class SystemUDBaseManager
public String getFileName()
getFileName
in class SystemUDBaseManager
public String getDocumentRootTagName()
getDocumentRootTagName
in class SystemUDBaseManager
protected boolean uppercaseName()
uppercaseName
in class SystemUDBaseManager
public boolean supportsProfiles()
supportsProfiles
in class SystemUDBaseManager
public SystemXMLElementWrapper[] primeDocument(SystemProfile profile)
primeDocument
in class SystemUDBaseManager
protected IFolder getDocumentFolder(SubSystemFactory subsystemFactory, SystemProfile profile)
getDocumentFolder
in class SystemUDBaseManager
public void setFolder(String profileName, String factoryId)
setFolder
in class SystemUDBaseManager
public SystemUDActionElement addAction(SystemProfile profile, String name, int domain)
public boolean hasActions(SystemProfile profile, SubSystemFactory ssFactory)
public SystemUDActionElement[] getActions(Vector v, SystemProfile profile, int domain)
v
- - existing vector to populate. If null passed, it is
not populated.profile
- - the profile to limit the search todomain
- - the integer representation of the given domain,
or -1 iff supportsDomains() is false
public SystemUDActionElement[] getAllActions(Vector v, SystemProfile profile)
v
- - existing vector to populate. If null passed, it is not populated.profile
- - the profile to limit the search to
public String getTagName()
getTagName
in interface ISystemXMLElementWrapperFactory
getTagName
in class SystemUDBaseManager
public SystemXMLElementWrapper createElementWrapper(Element xmlElementToWrap, SystemProfile profile, int domain)
createElementWrapper
in interface ISystemXMLElementWrapperFactory
createElementWrapper
in class SystemUDBaseManager
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |