Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.srcinfo.editparts
Class SourceContainerCompartmentEditPart

java.lang.Object
  extended by ShapeCompartmentEditPart
      extended by com.ibm.etools.systems.application.visual.editor.srcinfo.editparts.SourceContainerCompartmentEditPart

public class SourceContainerCompartmentEditPart
extends ShapeCompartmentEditPart

CompartmentEditPart for Source Container. The view for this editpart is created in SourceContainerViewFactory. There is no corresponding semantic model element in ApplicationModel.


Nested Class Summary
static class SourceContainerCompartmentEditPart.SourceContainerConnectionRefreshMgr
           
 
Field Summary
static String copyright
           
 
Constructor Summary
SourceContainerCompartmentEditPart(View view)
          Constructur.
 
Method Summary
 void activate()
           
protected  ConnectionRefreshMgr createConnectionRefreshMgr()
          Factory method to create a refresh connection.
protected  void createDefaultEditPolicies()
          Create default editpolicies.
 IFigure createFigure()
           
protected  String createTooltipText()
          Create tooltip text.
 void deactivate()
          Deactivate the editpart.
 void doAutoLayout()
          Do auto layout.
protected  String getMetrics()
          Return statistical information.
 int getSemanticChildrenNumber()
          Return the semantic children number.
protected  SystemGraphicalEditorSessionManager getSessionManager()
          Helper method to get SystemGraphicalEditorSessionManager.
 boolean isCollapsed()
          Return true if collapsed, false otherwise.
 void updateTooltip()
          Update tooltip text according to expand/collapse state.
 
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

SourceContainerCompartmentEditPart

public SourceContainerCompartmentEditPart(View view)
Constructur.

Parameters:
view -
Method Detail

createDefaultEditPolicies

protected void createDefaultEditPolicies()
Create default editpolicies.


createFigure

public IFigure createFigure()

getMetrics

protected String getMetrics()
Return statistical information.


createTooltipText

protected String createTooltipText()
Create tooltip text.


updateTooltip

public void updateTooltip()
Update tooltip text according to expand/collapse state.


isCollapsed

public boolean isCollapsed()
Return true if collapsed, false otherwise.


doAutoLayout

public void doAutoLayout()
Do auto layout.


getSemanticChildrenNumber

public int getSemanticChildrenNumber()
Return the semantic children number.


createConnectionRefreshMgr

protected ConnectionRefreshMgr createConnectionRefreshMgr()
Factory method to create a refresh connection. This implementation returns a ShapeCompartmentEditPart.ConnectionRefreshMgr instance.

Returns:
ConnectionRefreshMgr

getSessionManager

protected SystemGraphicalEditorSessionManager getSessionManager()
Helper method to get SystemGraphicalEditorSessionManager.


deactivate

public void deactivate()
Deactivate the editpart.


activate

public void activate()

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.