|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.Request
org.eclipse.gmf.runtime.diagram.ui.requests.ShowRelatedElementsRequest
| Field Summary | |
protected ExpansionType |
expansionType
The expansion type, which could be incoming, outgoing, both, or all connected |
protected java.util.List |
models
List of Models. |
protected java.util.List |
stoppingList
The Stopping List |
protected boolean |
useFilter
Use the IRelationshipFilter when true, don't use it when false |
| Constructor Summary | |
ShowRelatedElementsRequest(java.util.List shapes,
java.util.List relationshipTypesToShow,
boolean isExpandIndefinite,
int expandLevel,
ExpansionType expansionType)
Constructor for ShowRelatedElementsRequest. |
|
ShowRelatedElementsRequest(java.util.List shapes,
java.util.List relationshipTypesToShow,
boolean isExpandIndefinite,
int expandLevel,
ExpansionType expansionType,
boolean useFilter,
java.util.List models,
java.util.List stoppingList)
Constructor for ShowRelatedElementsRequest. |
|
| Method Summary | |
int |
getExpandLevel()
Method getExpandLevel. |
ExpansionType |
getExpansionType()
Return the expansion type that was passed into the constructor. |
java.util.List |
getModels()
Return a List of IModel objects |
java.util.List |
getRelatedShapes()
Method getRelatedShapes. |
java.util.List |
getRelationshipsToShow()
Method getRelationshipsToShow. |
java.util.List |
getSelectedShapes()
Method getShapes. |
java.util.List |
getStoppingList()
Method getStoppingList |
boolean |
getUseFilter()
Returns if the filter should be used or not Use the IRelationshipFilter when true, don't use it when false |
boolean |
getUseIncoming()
Method getUseIncoming. |
boolean |
getUseOutgoing()
Method getUseOutgoing. |
boolean |
isExpandIndefinite()
Method isExpandIndefinite. |
void |
setRelatedShapes(java.util.List relatedShapes)
Method setRelatedShapes. |
| Methods inherited from class org.eclipse.gef.Request |
getExtendedData, getType, setExtendedData, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ExpansionType expansionType
protected java.util.List stoppingList
protected java.util.List models
protected boolean useFilter
| Constructor Detail |
public ShowRelatedElementsRequest(java.util.List shapes,
java.util.List relationshipTypesToShow,
boolean isExpandIndefinite,
int expandLevel,
ExpansionType expansionType,
boolean useFilter,
java.util.List models,
java.util.List stoppingList)
shapes - List of IShapeView objects that were selectedrelationshipTypesToShow - List of relationship type hints
to show.isExpandIndefinite - true to expand indefinitely, false not to.expandLevel - specify an int level here for the number of
levels to expand if you set isExpandIndefinite to false.expansionType - the ExpansionType for deciding which
direction to expand in.useFilter - use the IRelationshipFilter when true,
don't use it when falsemodels - List of IModel objects, if null, the default will
be used.stoppingList - List of the stopping conditions
for related elements if this is true
public ShowRelatedElementsRequest(java.util.List shapes,
java.util.List relationshipTypesToShow,
boolean isExpandIndefinite,
int expandLevel,
ExpansionType expansionType)
shapes - List of IShapeView objects that were selectedrelationshipTypesToShow - List of relationship type hints
to show. Use CoreUMLTypeInfo.isExpandIndefinite - true to expand indefinitely, false not to.expandLevel - specify an int level here for the number of
levels to expand if you set isExpandIndefinite to false.expansionType - should include incoming or outgoing relationships when searching
for related elements if this is true| Method Detail |
public java.util.List getSelectedShapes()
IAdaptable shapespublic java.util.List getRelatedShapes()
IAdaptable shapespublic void setRelatedShapes(java.util.List relatedShapes)
relatedShapes - List the list of IAdaptable shapespublic java.util.List getRelationshipsToShow()
public boolean isExpandIndefinite()
public int getExpandLevel()
public boolean getUseIncoming()
public boolean getUseOutgoing()
public ExpansionType getExpansionType()
public boolean getUseFilter()
public java.util.List getModels()
public java.util.List getStoppingList()
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.