|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ercp.eworkbench.ApplicationDescriptor
public class ApplicationDescriptor
class used to describe an eRCP application
Constructor Summary | |
---|---|
ApplicationDescriptor(java.lang.String id,
IConfigurationElement configElement)
Create a descriptor from a config element. |
|
ApplicationDescriptor(java.lang.String id,
java.lang.String label)
Create a new empty descriptor. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Returns the factory class name for this descriptor. |
IConfigurationElement |
getConfigElement()
Return the configuration element used to create this perspective, if one was used. |
java.lang.String |
getDescription()
|
java.lang.String |
getId()
|
ImageDescriptor |
getImageDescriptor()
|
java.lang.String |
getLabel()
|
java.lang.String |
getLocalId()
|
java.lang.String |
getPluginId()
|
java.lang.String |
getViewId(java.lang.String type)
|
boolean |
isSingleton()
Returns true if this perspective is a singleton. |
void |
setViewId(java.lang.String type,
java.lang.String id)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApplicationDescriptor(java.lang.String id, java.lang.String label)
id
- the id of the new descriptorlabel
- the label of the new descriptororiginalDescriptor
- the descriptor that this descriptor is based onpublic ApplicationDescriptor(java.lang.String id, IConfigurationElement configElement) throws CoreException
id
- the id of the element to createconfigElement
- the element to base this perspective on
CoreException
- thrown if there are any missing attributesMethod Detail |
---|
public java.lang.String getDescription()
getDescription
in interface IApplicationDescriptor
public java.lang.String getId()
getId
in interface IApplicationDescriptor
public ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface IApplicationDescriptor
public java.lang.String getLabel()
getLabel
in interface IApplicationDescriptor
public boolean isSingleton()
true
if this perspective is a singleton.
isSingleton
in interface IApplicationDescriptor
public IConfigurationElement getConfigElement()
public java.lang.String getLocalId()
getLocalId
in interface IPluginContribution
null
.
This should correspond to the extension-specific identifier for
a given contribution.public java.lang.String getPluginId()
getPluginId
in interface IPluginContribution
null
if
this contribution did not originate from a plugin.public java.lang.String getClassName()
public void setViewId(java.lang.String type, java.lang.String id)
public java.lang.String getViewId(java.lang.String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |