public class ZestFxUiView extends AbstractFXView
ZestFxUiView is an extension to the AbstractFXView. It
creates an Injector based on the ZestFxModule and
ZestFxUiModule by default. Other than that, it provides a
method to change the Graph that is
displayed.| Constructor and Description |
|---|
ZestFxUiView()
Constructs a new
ZestFxUiView. |
ZestFxUiView(Injector injector)
Constructs a new
ZestFxUiView. |
| Modifier and Type | Method and Description |
|---|---|
void |
setGraph(Graph graph)
Changes the contents of the
AbstractFXView.getContentViewer() to the given
Graph. |
activate, createActions, createPartControl, deactivate, dispose, disposeActions, getAdapter, getCanvas, getContentViewer, getDomain, getFitToViewportActionGroup, hookViewers, init, setFocus, unhookViewerscheckSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic ZestFxUiView()
ZestFxUiView. Uses an Injector that is
created from the ZestFxModule and ZestFxUiModule to
inject its members.public ZestFxUiView(Injector injector)
ZestFxUiView. Uses the given Injector to
inject its members.injector - The Injector that is used to inject the members of
this ZestFxUiView.public void setGraph(Graph graph)
AbstractFXView.getContentViewer() to the given
Graph. The contents are changed by changing the
IViewer.contentsProperty().graph - The new contents for the viewer.Copyright (c) 2014 itemis AG and others. All rights reserved.