Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.editparts.impl
Class SystemRootEditPart

java.lang.Object
  extended by RenderedDiagramRootEditPart
      extended by com.ibm.etools.systems.application.visual.editor.editparts.impl.SystemRootEditPart
All Implemented Interfaces:
ISystemRootEditPart

public class SystemRootEditPart
extends RenderedDiagramRootEditPart
implements ISystemRootEditPart

System root editpart that defines the environment for the real EditParts representing the Application Diagram model elements.


Field Summary
static String copyright
           
 
Constructor Summary
SystemRootEditPart()
          Default constructor
SystemRootEditPart(MeasurementUnit mu)
          Constructor.
 
Method Summary
 void activateConnectionLayerListener()
          Activate content change listener.
 void cleanSemanticElementToViewRegistry()
          Clean SemanticElementToViewRegistry.
protected  LayeredPane createPrintableLayers()
          Create a printable layer.
 void deactivate()
          Deactivate the editpart.
 void deactivateContentChangeListener()
          Deactivate content change listener.
protected  FreeformListener getContentPaneTracker()
          Get content pane tracker instance.
 SystemGraphicalEditor getEditor()
          Return editor.
 ISemanticElementToViewRegistry getSemanticElementToViewRegistry()
          Get SemanticElementToViewRegistry.
 void setEditor(SystemGraphicalEditor editor)
          Set associated editor object.
 void setSemanticElementToViewRegistry(ISemanticElementToViewRegistry semanticElementToViewRegistry)
          Set SemanticElementToViewRegistry.
protected  void unregister()
          Unregister.
 
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

SystemRootEditPart

public SystemRootEditPart()
Default constructor


SystemRootEditPart

public SystemRootEditPart(MeasurementUnit mu)
Constructor.

Parameters:
mu - the MeasurementUnit that is the native coordinate system for this root edit part.
Method Detail

getSemanticElementToViewRegistry

public ISemanticElementToViewRegistry getSemanticElementToViewRegistry()
Get SemanticElementToViewRegistry.


setSemanticElementToViewRegistry

public void setSemanticElementToViewRegistry(ISemanticElementToViewRegistry semanticElementToViewRegistry)
Set SemanticElementToViewRegistry.


cleanSemanticElementToViewRegistry

public void cleanSemanticElementToViewRegistry()
Clean SemanticElementToViewRegistry.


setEditor

public void setEditor(SystemGraphicalEditor editor)
Set associated editor object.

Parameters:
editor -

getEditor

public SystemGraphicalEditor getEditor()
Description copied from interface: ISystemRootEditPart
Return editor.

Specified by:
getEditor in interface ISystemRootEditPart

createPrintableLayers

protected LayeredPane createPrintableLayers()
Create a printable layer.


unregister

protected void unregister()
Unregister. Remove content change listener if it has been activated.


activateConnectionLayerListener

public void activateConnectionLayerListener()
Activate content change listener.


deactivateContentChangeListener

public void deactivateContentChangeListener()
Deactivate content change listener.


getContentPaneTracker

protected FreeformListener getContentPaneTracker()
Get content pane tracker instance.


deactivate

public void deactivate()
Deactivate the editpart.


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.