|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectShapeNodeEditPart
com.ibm.etools.systems.application.visual.editor.editparts.impl.SystemNodeEditPart
com.ibm.etools.systems.application.visual.editor.srcinfo.editparts.SourceContainerEditPart
public class SourceContainerEditPart
EditPart for SourceContainer.
| Field Summary | |
|---|---|
Color |
background_gradient
|
static String |
copyright
|
protected ArtifactCollapseEditPartTracker |
dragTracker
|
Color |
foreground_gradient
|
| Constructor Summary | |
|---|---|
SourceContainerEditPart(View view)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
createDefaultEditPolicies()
Create default editpolicies. |
protected NodeFigure |
createNodeFigure()
Create figure for this edit part. |
String |
createTooltipText()
Create tooltip text. |
void |
deactivate()
Deactivate. |
IFigure |
getContentPane()
Get content pane. |
DragTracker |
getDragTracker(Request request)
Returns a DragTracker for dragging this EditPart. |
EditPolicy |
getPrimaryDragEditPolicy()
Return customized drag edit policy. |
int |
getSemanticChildrenNumber()
Return semantic children number. |
SourceContainerFigure |
getSourceContainerFigure()
Return the figure. |
boolean |
ignoreCollapseRequest()
Check if collapse / expand request should be ignored. |
boolean |
isCollapsed()
Return true if collapsed, false otherwise. |
protected boolean |
isFirstTimeExpand()
Check if this is the first time to expand the container. |
void |
performRequest(Request request)
Perform request. |
void |
setCollapsed(boolean collapsed)
Set collapse state. |
protected boolean |
shouldAutoLayout()
Check if auto layout should be done. |
void |
updateTooltip()
Update tooltip text according to expand/collapse state. |
| Methods inherited from class com.ibm.etools.systems.application.visual.editor.editparts.impl.SystemNodeEditPart |
|---|
getAccessibleEditPart, getArtifact, getCommand, getDelegatedPrimaryView, getDisplayName, getFigureNamedLabel, getIconRetriever, handleNotificationEvent, refreshFont, refreshFontColor, refreshStrikeThrough, refreshUnderline, refreshVisuals, retrieveIcon, setFontColor, setVisibility |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String copyright
public Color foreground_gradient
public Color background_gradient
protected ArtifactCollapseEditPartTracker dragTracker
| Constructor Detail |
|---|
public SourceContainerEditPart(View view)
view - | Method Detail |
|---|
protected void createDefaultEditPolicies()
createDefaultEditPolicies in class SystemNodeEditPartprotected NodeFigure createNodeFigure()
createNodeFigure in class SystemNodeEditPartpublic SourceContainerFigure getSourceContainerFigure()
public void deactivate()
public String createTooltipText()
createTooltipText in class SystemNodeEditPartpublic IFigure getContentPane()
public DragTracker getDragTracker(Request request)
DragTracker for dragging this EditPart. The SelectionTool is the only Tool by default that
calls this method. The SelectionTool will use a org.eclipse.gef.requests.SelectionRequest to provide information such as which mouse
button is down, and what modifier keys are pressed.
request - a Request indicating the context of the drag
null or a DragTrackerpublic void performRequest(Request request)
protected boolean shouldAutoLayout()
protected boolean isFirstTimeExpand()
public boolean ignoreCollapseRequest()
public void updateTooltip()
public int getSemanticChildrenNumber()
ICollapsableEditPart
getSemanticChildrenNumber in interface ICollapsableEditPartpublic boolean isCollapsed()
isCollapsed in interface ICollapsableEditPartpublic void setCollapsed(boolean collapsed)
setCollapsed in interface ICollapsableEditPartICollapsableEditPart.setCollapsed(boolean)public EditPolicy getPrimaryDragEditPolicy()
getPrimaryDragEditPolicy in class SystemNodeEditPart
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||