|
Runtime | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use View | |
| org.eclipse.gmf.runtime.diagram.core.commands | Aurora internal packages Package Specification this package contains all the supported commands by the diagram layer |
| org.eclipse.gmf.runtime.diagram.core.providers | |
| org.eclipse.gmf.runtime.diagram.core.services | |
| org.eclipse.gmf.runtime.diagram.core.services.view | Aurora internal packages Package Specification Provides a set of classes to use when creating views. |
| org.eclipse.gmf.runtime.diagram.core.util | Aurora internal packages Package Specification This package contains utility classes used by this plugin. |
| org.eclipse.gmf.runtime.diagram.core.view.factories | Aurora internal packages Package Specification ToDo: Fill in specific content |
| org.eclipse.gmf.runtime.diagram.ui.commands | Aurora internal packages Package Specification Diagram ui commands |
| org.eclipse.gmf.runtime.diagram.ui.editparts | Aurora internal packages Package Specification This package contains the edit part classes. |
| org.eclipse.gmf.runtime.diagram.ui.editpolicies | Aurora internal packages Package Specification This package contains the edit policy classes. |
| org.eclipse.gmf.runtime.diagram.ui.render.editparts | Package Specification This package contains the edit part classes. |
| org.eclipse.gmf.runtime.diagram.ui.requests | Aurora internal packages Package Specification thispackage contains the supported request classes |
| org.eclipse.gmf.runtime.diagram.ui.services.editpart | Aurora internal packages Package Specification This package contains the edit part classes. |
| org.eclipse.gmf.runtime.diagram.ui.services.layout | Aurora internal packages Package Specification Lauout specific classes either operations or types |
| org.eclipse.gmf.runtime.diagram.ui.util | Aurora internal packages Package Specification This package contains utility classes used by this plugin. |
| org.eclipse.gmf.runtime.diagram.ui.view.factories | Aurora internal packages Package Specification This package contains the Notation meta model View Factories. |
| org.eclipse.gmf.runtime.notation | Notation meta-model primary package. |
| org.eclipse.gmf.runtime.notation.impl | Aurora internal packages Package Specification ToDo: Fill in specific content |
| Uses of View in org.eclipse.gmf.runtime.diagram.core.commands |
| Methods in org.eclipse.gmf.runtime.diagram.core.commands that return View | |
protected View |
DeleteCommand.getView()
getter for the View that will be deleted |
| Constructors in org.eclipse.gmf.runtime.diagram.core.commands with parameters of type View | |
DeleteCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
View view)
Creates a new Delete command |
|
DeleteCommand(View view)
Creates a new Delete command. |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.core.providers |
| Methods in org.eclipse.gmf.runtime.diagram.core.providers with parameters of type View | |
Edge |
AbstractViewProvider.createEdge(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
Node |
AbstractViewProvider.createNode(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
protected java.lang.Class |
AbstractViewProvider.getEdgeViewClass(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint)
Returns the edge view class to instantiate based on the passed params |
protected java.lang.Class |
AbstractViewProvider.getNodeViewClass(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint)
Returns the node view class to instantiate based on the passed params |
Edge |
IViewProvider.createEdge(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
create an Edge element. |
Node |
IViewProvider.createNode(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
create a Node. |
boolean |
ViewProviderConfiguration.supports(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint)
Determines if the provider understands the given context The provider understands the request if: 1- There are no listed provider contexts 2- The context matches one of the provider contexts |
| Uses of View in org.eclipse.gmf.runtime.diagram.core.services |
| Methods in org.eclipse.gmf.runtime.diagram.core.services that return View | |
View |
ViewService.createView(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
A convenience method to create a view with the given parameters |
View |
ViewService.createEdge(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
PreferencesHint preferencesHint)
|
| Methods in org.eclipse.gmf.runtime.diagram.core.services with parameters of type View | |
boolean |
ViewService.provides(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
A convenience method to determine whether there is a provider that can create a view with the given parameters |
View |
ViewService.createView(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
A convenience method to create a view with the given parameters |
static Node |
ViewService.createNode(View container,
EObject eObject,
java.lang.String type,
PreferencesHint preferencesHint)
Creates a node for a given eObject and with a given type and inserts it into a given container |
static Node |
ViewService.createNode(View container,
java.lang.String type,
PreferencesHint preferencesHint)
Creates a node for a with a given type and inserts it thegiven container |
static Edge |
ViewService.createEdge(View source,
View target,
EObject eObject,
java.lang.String type,
PreferencesHint preferencesHint)
Creates an edge for a given eObject and with a given type and connects it between a given source and a given target |
static Edge |
ViewService.createEdge(View source,
View target,
java.lang.String type,
PreferencesHint preferencesHint)
Creates an edge with a given type and connects it between the given source and target |
Edge |
ViewService.createEdge(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
View |
ViewService.createEdge(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
PreferencesHint preferencesHint)
|
Node |
ViewService.createNode(IAdaptable semanticElement,
View containerView,
java.lang.String semanticHint,
int index,
PreferencesHint preferencesHint)
creates a persisted Node |
Node |
ViewService.createNode(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
creates a Node |
| Uses of View in org.eclipse.gmf.runtime.diagram.core.services.view |
| Methods in org.eclipse.gmf.runtime.diagram.core.services.view that return View | |
View |
CreateChildViewOperation.getContainerView()
Method getParent. |
| Constructors in org.eclipse.gmf.runtime.diagram.core.services.view with parameters of type View | |
CreateEdgeViewOperation(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
Creates a new instance. |
|
CreateChildViewOperation(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
Method CreateChildViewOperation. |
|
CreateViewForKindOperation(java.lang.Class viewKind,
IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
PreferencesHint preferencesHint)
|
|
CreateNodeViewOperation(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
Constructor for CreateNodeViewOperation. |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.core.util |
| Methods in org.eclipse.gmf.runtime.diagram.core.util that return View | |
static View |
ViewUtil.getTopViewToPersist(View view)
Returns the top view that should be persisted, starting from the passed view, it could return the passed view itself if it is a transient view, other wise it will check its parent and so on ... |
static View |
ViewUtil.getContainerView(View eObject)
Returns the container view, or null if the container is not a view or null |
static View |
ViewUtil.getChildBySemanticHint(View view,
java.lang.String semanticHint)
gets a the first child in the passed View that had the
same type as the passed semantic hint. |
static View |
ViewUtil.getChildByIdStr(View view,
java.lang.String idStr)
returns the first child whose id matched the given id |
| Methods in org.eclipse.gmf.runtime.diagram.core.util with parameters of type View | |
protected void |
ViewRefactorHelper.copyViewFeatures(View oldView,
View newView)
Copies the notational features of the old view to the new view |
void |
ViewRefactorHelper.copyViewAppearance(View oldView,
View newView,
java.util.List excludeStyles)
Copies the appearance of the old view to the new view. |
protected void |
ViewRefactorHelper.copyViewStyles(View oldView,
View newView)
Copies the style features of the old view to the new view |
protected void |
ViewRefactorHelper.copyViewStyles(View oldView,
View newView,
java.util.List excludeStyles)
Copies all styles feature from the old view to the new view |
protected void |
ViewRefactorHelper.copyViewStyle(View oldView,
View newView,
Style oldStyle,
java.util.List excludeStyles)
Copies the given style features of the old view to the new view |
protected void |
ViewRefactorHelper.copyViewChildren(View oldView,
View newView)
Copies the notational properties of the old view children to the new view children |
protected void |
ViewRefactorHelper.copyViewChild(View oldView,
View newView,
Node oldChildNode)
If the child view has the same element as the parent and also has a type, it is considered a subview and therefore only its properties are copied to matching subviews (if any) of the new parent. |
protected java.lang.String |
ViewRefactorHelper.getNewViewType(View oldView,
EObject newElement)
Returns the type of the new view that replaces the old one |
static void |
ViewUtil.persistElement(View view)
move the supplied view from, and all of its parents from the transient collections to the persisted collections. |
static View |
ViewUtil.getTopViewToPersist(View view)
Returns the top view that should be persisted, starting from the passed view, it could return the passed view itself if it is a transient view, other wise it will check its parent and so on ... |
static void |
ViewUtil.destroy(View view)
Destroys the supplied view notational element and remove any references this class may have to it. |
static View |
ViewUtil.getContainerView(View eObject)
Returns the container view, or null if the container is not a view or null |
static void |
ViewUtil.insertChildView(View containerView,
View childView,
int index,
boolean persisted)
inserts a child View in a container. the view will be
inserted in the persisted collection if the persisted flag is
true; otherwise it will be added to the transied collection.
|
static View |
ViewUtil.getChildBySemanticHint(View view,
java.lang.String semanticHint)
gets a the first child in the passed View that had the
same type as the passed semantic hint. |
static boolean |
ViewUtil.isPropertySupported(View view,
java.lang.Object id)
checks if the passed property is supported bythe passed view |
static boolean |
ViewUtil.isFeatureSupported(View view,
EStructuralFeature feature)
checks if the passed feature is supported by the passed view |
static boolean |
ViewUtil.isPropertySupported(View view,
EStructuralFeature feature,
EClass featureClass)
checks if the passed feature is supported by the passed view |
static java.lang.Object |
ViewUtil.getStructuralFeatureValue(View view,
EStructuralFeature feature)
Returns the value of the passed feature inside the passed view |
static java.lang.Object |
ViewUtil.getPropertyValue(View view,
EStructuralFeature feature,
EClass featureClass)
Returns the value of the featrue inside a specific EClass within the passed view |
static void |
ViewUtil.setStructuralFeatureValue(View view,
EStructuralFeature feature,
java.lang.Object value)
Sets the passed feature if possible on the passed view to the passed value. |
static void |
ViewUtil.setPropertyValue(View view,
EStructuralFeature feature,
EClass featureClass,
java.lang.Object value)
Sets the passed featrue on the passed EClass inside the passed view to the new value if possible |
static EObject |
ViewUtil.resolveSemanticElement(View view)
resolves the passed View |
static java.lang.String |
ViewUtil.getSemanticElementClassId(View view)
gets the View's semantic element Class Id, this could be
used to check the semantic element type |
static java.util.List |
ViewUtil.getSourceConnections(View view)
gets all the Edge's whose source is this view |
static java.util.List |
ViewUtil.getTargetConnections(View view)
gets all the Edge's whose target is this view |
static java.util.List |
ViewUtil.getSourceConnectionsConnectingVisibleViews(View view)
gets all the Edge's whose source is this view |
static java.util.List |
ViewUtil.getTargetConnectionsConnectingVisibleViews(View view)
gets all the Edge's whose target is this view |
static java.lang.String |
ViewUtil.getSemanticEClassName(View view)
return eClass Name of the view's semantic element, this method works only if the semantic element is a NameElement, otherwise it will return an Empty String |
static java.lang.String |
ViewUtil.getIdStr(View view)
returns the unique GUID of the view |
static void |
ViewUtil.repositionChildAt(View container,
View child,
int newIndex)
reorders the child at the oldIndex to the newIndex |
static View |
ViewUtil.getChildByIdStr(View view,
java.lang.String idStr)
returns the first child whose id matched the given id |
static void |
ViewUtil.setPropertyValue(View view,
java.lang.Object id,
java.lang.Object value)
Deprecated. use ViewUtil#setStructuralFeatureValue(View, EStructuralFeature, Object}
instead |
static java.lang.Object |
ViewUtil.getPropertyValue(View view,
java.lang.Object id)
Deprecated. use ViewUtil.getStructuralFeatureValue(View, EStructuralFeature)
instead |
| Uses of View in org.eclipse.gmf.runtime.diagram.core.view.factories |
| Methods in org.eclipse.gmf.runtime.diagram.core.view.factories that return View | |
View |
ViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
factory method, that will be called by the view service to creat the view |
| Methods in org.eclipse.gmf.runtime.diagram.core.view.factories with parameters of type View | |
View |
ViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
factory method, that will be called by the view service to creat the view |
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.commands |
| Fields in org.eclipse.gmf.runtime.diagram.ui.commands declared as View | |
protected View |
CreateCommand.containerView
The container view |
| Methods in org.eclipse.gmf.runtime.diagram.ui.commands that return View | |
protected View |
CreateCommand.getContainerView()
give access to the view, where that will contain the created view |
protected View |
CreateViewAndOptionallyElementCommand.getExistingView(EObject element)
Searches the container editpart to see if the element passed in already has a view. |
| Methods in org.eclipse.gmf.runtime.diagram.ui.commands with parameters of type View | |
protected boolean |
CreateViewAndOptionallyElementCommand.useExistingView(View view)
Prompts the user to see if they would like to use an existing view on the diagram. |
| Constructors in org.eclipse.gmf.runtime.diagram.ui.commands with parameters of type View | |
CreateCommand(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain,
CreateViewRequest.ViewDescriptor viewDescriptor,
View containerView)
Creates a new CreateCommand |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.editparts |
| Methods in org.eclipse.gmf.runtime.diagram.ui.editparts that return View | |
View |
ConnectionEditPart.getPrimaryView()
|
View |
ConnectionEditPart.getNotationView()
Return the editpart's associated Notation View. |
View |
TextCompartmentEditPart.getPrimaryChildView()
gets the primary child view for this edit part, this is usually used by direct edit requests, to see where the edit will happen |
View |
IGraphicalEditPart.getNotationView()
Return the editpart's associated Notation View. |
View |
IGraphicalEditPart.getPrimaryView()
Convenience method returns the editpart's primary view. |
protected View |
ListCompartmentEditPart.getModelChildByID(EObject eObject)
Returns the child view given the semantic ID. |
View |
GraphicalEditPart.getChildViewBySemanticHint(java.lang.String semanticHint)
Method getChildViewBySemanticHint. |
View |
GraphicalEditPart.getPrimaryView()
Convenience method returning the editpart's parimary view. |
View |
GraphicalEditPart.getNotationView()
Return the editpart's associated Notation View. |
| Constructors in org.eclipse.gmf.runtime.diagram.ui.editparts with parameters of type View | |
BorderedBorderItemEditPart(View view)
Create an instance. |
|
ShapeNodeEditPart(View view)
constructor |
|
ConnectionNodeEditPart(View view)
constructor |
|
ConnectionEditPart(View view)
construcotr |
|
LabelEditPart(View view)
constructor |
|
ShapeEditPart(View view)
copnstructor |
|
NoteEditPart(View view)
constructor |
|
TopGraphicEditPart(View view)
constructor |
|
AbstractBorderItemEditPart(View view)
Create an instance. |
|
DiagramEditPart(View diagramView)
construcotr |
|
AbstractBorderedShapeEditPart(View view)
Create an instance. |
|
ShapeCompartmentEditPart(View view)
Constructor for ShapeCompartmentEditPart. |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.editpolicies |
| Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies that return View | |
protected View |
ListItemComponentEditPolicy.getView()
Returns the view element to be deleted. |
protected View |
GraphicalNodeEditPolicy.getView()
get this edit policy's edit part View |
protected View |
ComponentEditPolicy.getView()
Returns the view element to be deleted. |
| Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies with parameters of type View | |
protected boolean |
ConnectionLabelsEditPolicy.isLabelView(EditPart containerEditPart,
View parentView,
View view)
determines if the passed view is a label view or not the default provided implementation is just an educated/generic guss clients can override this method to provide more specific response |
protected Command |
CanonicalEditPolicy.getDeleteViewCommand(View view)
gets a Command to delete the supplied View. |
protected boolean |
CanonicalEditPolicy.shouldDeleteView(View view)
returns true to always delete a view if required. |
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.render.editparts |
| Constructors in org.eclipse.gmf.runtime.diagram.ui.render.editparts with parameters of type View | |
URLImageEditPart(View view)
Default constructor |
|
AbstractImageEditPart(View view)
Constructor |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.requests |
| Methods in org.eclipse.gmf.runtime.diagram.ui.requests with parameters of type View | |
void |
CreateViewRequest.ViewDescriptor.setView(View view)
Method setView. |
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.services.editpart |
| Methods in org.eclipse.gmf.runtime.diagram.ui.services.editpart that return View | |
View |
IEditPartOperation.getView()
gets the cached view. |
| Methods in org.eclipse.gmf.runtime.diagram.ui.services.editpart with parameters of type View | |
IGraphicalEditPart |
AbstractEditPartProvider.createGraphicEditPart(View view)
create an instance of GraphicEditPaty. |
protected java.lang.Class |
AbstractEditPartProvider.getEdgeEditPartClass(View view)
Gets a connection's editpart class. |
protected java.lang.Class |
AbstractEditPartProvider.getDiagramEditPartClass(View view)
Gets a diagram's editpart class. |
protected java.lang.Class |
AbstractEditPartProvider.getNodeEditPartClass(View view)
Gets a Node's editpart class. |
protected static EClass |
AbstractEditPartProvider.getReferencedElementEClass(View view)
gets the supplied view's underlying notation element's eClass |
IGraphicalEditPart |
EditPartService.createGraphicEditPart(View view)
Creates an IGraphicalEditPart instance by forwarding a CreateGraphicEditPartOperation
to the registered providers. |
| Constructors in org.eclipse.gmf.runtime.diagram.ui.services.editpart with parameters of type View | |
CreateGraphicEditPartOperation(View view)
Constructor. |
|
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.services.layout |
| Methods in org.eclipse.gmf.runtime.diagram.ui.services.layout that return View | |
protected View |
AbstractLayoutNodeProvider.getContainer(IOperation operation)
Retrieves the common container that will be the target for the layout operation. |
| Methods in org.eclipse.gmf.runtime.diagram.ui.services.layout with parameters of type View | |
void |
LayoutService.layout(View container,
java.lang.String hint)
Utility method to layout the children of a view container. |
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.util |
| Methods in org.eclipse.gmf.runtime.diagram.ui.util with parameters of type View | |
static void |
SelectInDiagramHelper.selectElement(View view)
Select the View element from the DiagramEditor. |
| Uses of View in org.eclipse.gmf.runtime.diagram.ui.view.factories |
| Methods in org.eclipse.gmf.runtime.diagram.ui.view.factories that return View | |
View |
BasicNodeViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
factory method, that will be called by the view service to creat the view |
View |
ConnectionViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
View |
NoteViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
Method NoteView. creation constructor |
abstract View |
AbstractViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint thePreferencesHint)
|
| Methods in org.eclipse.gmf.runtime.diagram.ui.view.factories with parameters of type View | |
protected java.util.List |
ListCompartmentViewFactory.createStyles(View view)
this method is called by @link #createView(IAdaptable, View, String, int, boolean) to create the styles for the view that will be created, you can override this method in you factory sub class to provide additional styles |
protected void |
TextShapeViewFactory.decorateView(View containerView,
View view,
IAdaptable semanticAdapter,
java.lang.String semanticHint,
int index,
boolean persisted)
|
View |
BasicNodeViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
factory method, that will be called by the view service to creat the view |
protected void |
BasicNodeViewFactory.decorateView(View containerView,
View view,
IAdaptable semanticAdapter,
java.lang.String semanticHint,
int index,
boolean persisted)
This method is responsible for decorating the created view, it get called by the Factory method |
View |
ConnectionViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
|
protected void |
ConnectionViewFactory.decorateView(View containerView,
View view,
IAdaptable element,
java.lang.String semanticHint,
int index,
boolean persisted)
This method is responsible for decorating the created view, it get called by the Factory method @link #createView(IAdaptable, View, String, int, boolean), it will intiliaze the view with the default preferences also it will create the default elements of the View if it had any |
protected java.util.List |
ConnectionViewFactory.createStyles(View view)
this method is called by @link #createView(IAdaptable, View, String, int, boolean) to create the styles for the view that will be created, you can override this method in you factory sub class to provide additional styles |
protected void |
ConnectionViewFactory.initializeFromPreferences(View view)
|
protected java.util.List |
ResizableCompartmentViewFactory.createStyles(View view)
|
protected void |
DiagramViewFactory.decorateView(View view,
IAdaptable semanticAdapter,
java.lang.String diagramKind)
This method is responsible for decorating the created view, it get called by the Factory method @link #createView(IAdaptable, View, String, int, boolean), it will intiliaze the view with the default preferences also it will create the default elements of the View if it had any |
protected java.util.List |
DiagramViewFactory.createStyles(View view)
this method is called by @link #createView(IAdaptable, View, String, int, boolean) to create the styles for the view that will be created, you can override this method in you factory sub class to provide additional styles |
protected void |
DiagramViewFactory.initializeFromPreferences(View view)
Initialize the newly created view from the preference store, this method get called by @link #decorateView(View, IAdaptable, String) |
View |
NoteViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint preferencesHint)
Method NoteView. creation constructor |
protected void |
NoteViewFactory.initializeFromPreferences(View view)
|
protected void |
AbstractShapeViewFactory.initializeFromPreferences(View view)
Initialize the newly created view from the preference store, this method get called by @link #decorateView(View, IAdaptable, String) |
protected java.util.List |
AbstractShapeViewFactory.createStyles(View view)
this method is called by @link #createView(IAdaptable, View, String, int, boolean) to create the styles for the view that will be created, you can override this method in you factory sub class to provide additional styles |
abstract View |
AbstractViewFactory.createView(IAdaptable semanticAdapter,
View containerView,
java.lang.String semanticHint,
int index,
boolean persisted,
PreferencesHint thePreferencesHint)
|
protected java.util.List |
AbstractViewFactory.createStyles(View view)
creates styles for the passed view and return them as List; the returned list could be empty if the view does not need any style |
protected boolean |
AbstractViewFactory.requiresElement(IAdaptable semanticAdapter,
View view)
Indicates if the passed view requires an element inside it or it can use its container's element |
protected boolean |
AbstractViewFactory.requiresElement(EObject semanticElement,
View view)
Indicates if the passed view requires an element inside it or it can use its container's element |
protected void |
AbstractViewFactory.initializeFromPreferences(View view)
Initialize the passed view from the preference store |
protected org.eclipse.emf.transaction.TransactionalEditingDomain |
AbstractViewFactory.getEditingDomain(EObject semanticElement,
View containerView)
Determines the editing domain for the view creation. |
| Uses of View in org.eclipse.gmf.runtime.notation |
| Subinterfaces of View in org.eclipse.gmf.runtime.notation | |
interface |
Diagram
A representation of the model object 'Diagram'. |
interface |
Edge
A representation of the model object 'Edge'. |
interface |
Node
A representation of the model object 'Node'. |
| Methods in org.eclipse.gmf.runtime.notation that return View | |
View |
Edge.getSource()
Returns the value of the 'Source' reference. |
View |
Edge.getTarget()
Returns the value of the 'Target' reference. |
| Methods in org.eclipse.gmf.runtime.notation with parameters of type View | |
void |
Edge.setSource(View value)
Sets the value of the ' Source' reference |
void |
Edge.setTarget(View value)
Sets the value of the ' Target' reference |
void |
View.insertChild(View child)
A utililty method to insert a persisted child |
void |
View.insertChildAt(View child,
int index)
A utililty method to insert a persisted child at a specific index |
void |
View.insertChild(View child,
boolean persisted)
A utililty method to insert a persisted or transient child |
void |
View.removeChild(View child)
A utililty method to remove a child form a view |
| Uses of View in org.eclipse.gmf.runtime.notation.impl |
| Classes in org.eclipse.gmf.runtime.notation.impl that implement View | |
class |
DiagramImpl
An implementation of the model object 'Diagram' |
class |
EdgeImpl
An implementation of the model object 'Edge' |
class |
NodeImpl
An implementation of the model object 'Node' |
class |
ViewImpl
An implementation of the model object 'View' |
| Fields in org.eclipse.gmf.runtime.notation.impl declared as View | |
protected View |
EdgeImpl.source
The cached value of the ' Source' reference |
protected View |
EdgeImpl.target
The cached value of the ' Target' reference |
| Methods in org.eclipse.gmf.runtime.notation.impl that return View | |
View |
EdgeImpl.getSource()
|
View |
EdgeImpl.getTarget()
|
| Methods in org.eclipse.gmf.runtime.notation.impl with parameters of type View | |
NotificationChain |
EdgeImpl.basicSetSource(View newSource,
NotificationChain msgs)
|
void |
EdgeImpl.setSource(View newSource)
|
NotificationChain |
EdgeImpl.basicSetTarget(View newTarget,
NotificationChain msgs)
|
void |
EdgeImpl.setTarget(View newTarget)
|
void |
ViewImpl.insertChild(View child)
|
void |
ViewImpl.insertChildAt(View child,
int index)
|
void |
ViewImpl.insertChild(View child,
boolean persisted)
|
void |
ViewImpl.removeChild(View child)
|
|
Runtime | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.