public abstract class FXEditor extends EditorPart
PROP_DIRTY, PROP_INPUT
PROP_TITLE
Constructor and Description |
---|
FXEditor(com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
protected javafx.embed.swt.FXCanvas |
createCanvas(Composite parent) |
void |
createPartControl(Composite parent) |
void |
dispose() |
java.lang.Object |
getAdapter(java.lang.Class key) |
protected javafx.embed.swt.FXCanvas |
getCanvas() |
protected abstract java.util.List<? extends java.lang.Object> |
getContents() |
protected FXDomain |
getDomain() |
protected FXViewer |
getViewer() |
void |
init(IEditorSite site,
IEditorInput input) |
void |
setFocus() |
checkSite, doSave, doSaveAs, getEditorInput, getEditorSite, getTitleToolTip, isDirty, isSaveAsAllowed, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
protected javafx.embed.swt.FXCanvas createCanvas(Composite parent)
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public java.lang.Object getAdapter(java.lang.Class key)
getAdapter
in interface IAdaptable
getAdapter
in class WorkbenchPart
protected javafx.embed.swt.FXCanvas getCanvas()
protected abstract java.util.List<? extends java.lang.Object> getContents()
protected FXDomain getDomain()
protected FXViewer getViewer()
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init
in interface IEditorPart
init
in class EditorPart
PartInitException
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
Copyright (c) 2014 itemis AG and others. All rights reserved.