|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.designer.domino.ide.resources.metamodel.IDesignElementExtension
public abstract class IDesignElementExtension
Class for design element implementors to extend to describe the behaviors of a design element and to provide the strings and images that Designer needs to display the element. A class that extends this class should be referenced in the design element extension definition. It extends the IDesignElementExtensionDesc interface, leaving abstract only those methods that a design element implementation must supply, and providing default implementations of the rest.
Field Summary |
---|
Fields inherited from interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc |
---|
CODE_CATEGORY, COMPAPP_CATEGORY, DATA_CATEGORY, DD_PERSPECTIVE, FORMVIEW_PERSPECTIVE, RESOURCES_CATEGORY, SHARED_ELEMENTS_CATEGORY, XPAGES_PERSPECTIVE |
Constructor Summary | |
---|---|
IDesignElementExtension()
|
Method Summary | |
---|---|
java.lang.String |
getDefaultContent()
If your design element needs to contain initial content, return that content in this method. |
java.lang.String |
getDesignElementID()
A unique string ID to identify this design element. |
abstract java.lang.String |
getElementNameWithAccelerator()
Provides Designer with the name of the design element, containing an accelerator, for use in the View/GoTo menu, as well as in the submenus of Design/Create and context menu New menus. |
java.lang.String |
getFileExtension()
A convenience method. |
java.lang.String |
getFileName()
for future use to support single instance design elements (not yet supported) |
abstract org.eclipse.swt.graphics.Image |
getImage(java.lang.String imageName)
Given the name of an image, creates an Image object for it to help Domino Designer render the image. |
abstract org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String imageName)
Given the name of an image, creates an ImageDescriptor object for it to help Domino Designer render the image. |
abstract java.lang.String |
getLargeIcon()
Returns the name for the large icon (the size used for the design element category in the Applications Navigator) |
abstract java.lang.String |
getNewActionButtonImage()
Provides Designer with the name of the image to ask for to use as the image on the New button that is on the top of the design list for this design element. |
abstract java.lang.String |
getNewActionButtonLabel()
Provides Designer with the string to use on the New element button on the top of the list of design elements for this type of design element. |
abstract java.lang.String |
getNewActionButtonTooltip()
Provides Designer with the string to use as a tooltip on the New element button on the top of the list of design elements for this type of design element. |
abstract java.lang.String |
getNewDialogImageName()
Provides Designer with the imagename it should use when asking for the image for the "New" dialog for your design element. |
abstract java.lang.String |
getNewDialogMessage()
Provides Designer with the descriptive message it should place in the white space under the title bar of the New dialog for your design element |
abstract java.lang.String |
getNewDialogTitle()
Provides Designer with the title it should place in the title bar of the New dialog for your design element |
abstract java.lang.String |
getNewMenuStringWithAccelerator()
Provides Designer with the menu string name of the design element, containing an accelerator, for use at the top of the context menu that is available when a user right clicks on the design element category in the Applications Navigator. |
abstract java.lang.String |
getSmallIcon()
Returns the name for the small icon (used for individual child nodes in the Applications Navigator) |
java.lang.String[] |
getSupportedPerspectives()
Tells Designer which perspectives should display this element. |
abstract java.lang.String |
getTopContextNewMenuString()
Provides Designer with the menu string name of the design element, containing an accelerator, for use at the top of the context menu that is available when a user right clicks on the design element category in the Applications Navigator. |
boolean |
isSingleFileElement()
for future use to support single instance design elements (not yet supported) Our default implementation in IDesignElementExtension returns false for this, and need not be overridden. |
boolean |
isWebServerServable()
Tells Designer whether or not this design element should be served up by URL from the web server. |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
java.lang.String prop,
java.lang.Object data)
|
boolean |
showFileExtension()
Indicates whether Domino Designer should show the file extension for individual design elements in the Applications Navigator and in the design list. |
boolean |
supportsAlias()
Tells Designer whether or not this design element supports aliases. |
boolean |
supportsHideNotesWeb()
Tells Designer whether or not this design element supports the hide from Notes/Web properties. |
boolean |
supportsMultilingual()
Tells Designer whether or not this design element supports multilingual variants of itself. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IDesignElementExtension()
Method Detail |
---|
public abstract java.lang.String getLargeIcon()
getLargeIcon
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getSmallIcon()
getSmallIcon
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewDialogTitle()
getNewDialogTitle
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewDialogMessage()
getNewDialogMessage
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewDialogImageName()
getNewDialogImageName
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getElementNameWithAccelerator()
getElementNameWithAccelerator
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getTopContextNewMenuString()
getTopContextNewMenuString
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewMenuStringWithAccelerator()
getNewMenuStringWithAccelerator
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewActionButtonLabel()
getNewActionButtonLabel
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewActionButtonTooltip()
getNewActionButtonTooltip
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract java.lang.String getNewActionButtonImage()
getNewActionButtonImage
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public abstract org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String imageName)
getImageDescriptor
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
imageName
- the name of the image that Designer needs
public abstract org.eclipse.swt.graphics.Image getImage(java.lang.String imageName)
getImage
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
imageName
- the name of the image that Designer needs
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String prop, java.lang.Object data) throws org.eclipse.core.runtime.CoreException
setInitializationData
in interface org.eclipse.core.runtime.IExecutableExtension
org.eclipse.core.runtime.CoreException
public java.lang.String getDesignElementID()
getDesignElementID
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public java.lang.String getFileExtension()
getFileExtension
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean showFileExtension()
showFileExtension
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public java.lang.String getFileName()
getFileName
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean supportsAlias()
supportsAlias
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean supportsMultilingual()
supportsMultilingual
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean supportsHideNotesWeb()
supportsHideNotesWeb
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean isWebServerServable()
isWebServerServable
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public java.lang.String getDefaultContent()
getDefaultContent
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public boolean isSingleFileElement()
isSingleFileElement
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
public java.lang.String[] getSupportedPerspectives()
getSupportedPerspectives
in interface com.ibm.designer.prj.resources.commons.IDesignElementExtensionDesc
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |