Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.ui.properties
Class AbstractApplicationModelPropertySection

java.lang.Object
  extended by AbstractModelerPropertySection
      extended by com.ibm.etools.systems.application.visual.editor.ui.properties.AbstractApplicationModelPropertySection
Direct Known Subclasses:
AggregateRelationshipDetailsSection, AggregateRelationshipGeneralSection, RelationshipGeneralSection, RelationSourcePositionPropertySection, SourceContainerCallableBlockSection, SourceContainerIncludeSection, SourceContainerNameSection, SourceInfoCallableBlockNameSection, SourceInfoRelationSection

public abstract class AbstractApplicationModelPropertySection
extends AbstractModelerPropertySection

Abstract property section for Application Diagram. It unwraps the editpart input to semantic model element if exists.


Field Summary
static String copyright
           
 
Constructor Summary
AbstractApplicationModelPropertySection()
           
 
Method Summary
 void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage)
          Create controls.
abstract  Control getControl()
          Return main control widget.
 SystemGraphicalEditor getEditor()
          Get current editor
protected  IconRetriever getIconRetriever()
          Get icon retriever.
protected  Image getImage(String id, String size)
          Get image.
 IApplicationModelPropertiesHelper getPropertiesSectionHelper()
          Get IPropertiesSectionHelper
protected  EObject getSemanticObject(EObject eObject)
          Get semantic object
 void setHelp(Control control, String contextHelpID)
          Set context help.
 void setHelp(String contextHelpID)
          Set context help for main control widget.
 void setInput(IWorkbenchPart part, ISelection selection)
          Set input of section.
 void setPropertiesSectionHelper(IApplicationModelPropertiesHelper propertiesHelper)
          Set IPropertiesSectionHelper
protected abstract  void update()
          Update after input is reset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

AbstractApplicationModelPropertySection

public AbstractApplicationModelPropertySection()
Method Detail

getSemanticObject

protected EObject getSemanticObject(EObject eObject)
Get semantic object


createControls

public void createControls(Composite parent,
                           TabbedPropertySheetPage aTabbedPropertySheetPage)
Create controls.


setInput

public void setInput(IWorkbenchPart part,
                     ISelection selection)
Set input of section.


update

protected abstract void update()
Update after input is reset.


getControl

public abstract Control getControl()
Return main control widget. Can be used after createControls(Composite,TabbedPropertySheetPage) is called.


getEditor

public SystemGraphicalEditor getEditor()
Get current editor


setHelp

public void setHelp(String contextHelpID)
Set context help for main control widget.


setHelp

public void setHelp(Control control,
                    String contextHelpID)
Set context help.


setPropertiesSectionHelper

public void setPropertiesSectionHelper(IApplicationModelPropertiesHelper propertiesHelper)
Set IPropertiesSectionHelper


getPropertiesSectionHelper

public IApplicationModelPropertiesHelper getPropertiesSectionHelper()
Get IPropertiesSectionHelper


getImage

protected Image getImage(String id,
                         String size)
Get image.

Parameters:
id - id in image registry
size - size of image

getIconRetriever

protected IconRetriever getIconRetriever()
Get icon retriever.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.