Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.srcinfo.ui.properties
Class SourceContainerIncludeSection

java.lang.Object
  extended by AbstractModelerPropertySection
      extended by com.ibm.etools.systems.application.visual.editor.ui.properties.AbstractApplicationModelPropertySection
          extended by com.ibm.etools.systems.application.visual.editor.srcinfo.ui.properties.SourceContainerIncludeSection

public class SourceContainerIncludeSection
extends AbstractApplicationModelPropertySection

The properties section for Includes model elements contained in a source container.


Field Summary
static String copyright
           
 
Constructor Summary
SourceContainerIncludeSection()
          Constructor.
 
Method Summary
 void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage)
          Create controls.
 void dispose()
           
 Control getControl()
          Return main control widget.
protected  SourceContainerIncludeTableContentProvider getTableContentProvider()
          Get Includes table content provider.
protected  void handleBrowseSource(Shell shell, ISelection selection)
          Handle browsing the source for the selected CallableBlock.
protected  void handleOpenSource(Shell shell, ISelection selection)
          Handle opening the source for the selected CallableBlock.
protected  void setTableContentProvider(SourceContainerIncludeTableContentProvider contentProvider)
          Set Includes table content provider.
protected  boolean supportsBrowseSourceAction()
          Whether or not the Browse Source actionshould be added.
protected  boolean supportsOpenSourceAction()
          Whether or not the OpenSource action and double click should be added.
protected  void update()
          Update after input is reset.
 
Methods inherited from class com.ibm.etools.systems.application.visual.editor.ui.properties.AbstractApplicationModelPropertySection
getEditor, getIconRetriever, getImage, getPropertiesSectionHelper, getSemanticObject, setHelp, setHelp, setInput, setPropertiesSectionHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

SourceContainerIncludeSection

public SourceContainerIncludeSection()
Constructor.

Method Detail

createControls

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

Overrides:
createControls in class AbstractApplicationModelPropertySection

getControl

public Control getControl()
Description copied from class: AbstractApplicationModelPropertySection
Return main control widget. Can be used after createControls(Composite,TabbedPropertySheetPage) is called.

Specified by:
getControl in class AbstractApplicationModelPropertySection

update

protected void update()
Description copied from class: AbstractApplicationModelPropertySection
Update after input is reset.

Specified by:
update in class AbstractApplicationModelPropertySection

getTableContentProvider

protected SourceContainerIncludeTableContentProvider getTableContentProvider()
Get Includes table content provider.


setTableContentProvider

protected void setTableContentProvider(SourceContainerIncludeTableContentProvider contentProvider)
Set Includes table content provider.


dispose

public void dispose()
See Also:
ISection

supportsOpenSourceAction

protected boolean supportsOpenSourceAction()
Whether or not the OpenSource action and double click should be added. The default is to not add them, subclasses can override this method and return true to have them added.

See Also:

supportsBrowseSourceAction

protected boolean supportsBrowseSourceAction()
Whether or not the Browse Source actionshould be added. The default is to not add the action, subclasses can override this method and return true to have it added.

See Also:

handleOpenSource

protected void handleOpenSource(Shell shell,
                                ISelection selection)
Handle opening the source for the selected CallableBlock. Subclasses must override this method if they override supportsOpenSourceAction to return true.


handleBrowseSource

protected void handleBrowseSource(Shell shell,
                                  ISelection selection)
Handle browsing the source for the selected CallableBlock. Subclasses must override this method if they override supportsBrowseSourceAction to return true.


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.