|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
de.cau.cs.kieler.kev.views.KevView
public class KevView
The KEV-view which holds the EclipseJSVGCanvas for SVG document manipulation.
Field Summary | |
---|---|
static int |
BUTTON_BOTH
The value that identifies the both buttons. |
static int |
BUTTON_OPEN_WIZARD
The value that identifies the OpenWizard button. |
static int |
BUTTON_REFRESH
The value that identifies the Refresh button. |
static String |
ID
ID declares the name of the KEV-View. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
KevView()
The constructor. |
Method Summary | |
---|---|
void |
createPartControl(Composite parent)
This is a callback that will allow us to create the viewer and initialize it. |
void |
disableButton(int id)
Disable the openWizardAction. |
void |
dispose()
Does some code-wrapup before calling the super method. |
void |
enableButton(int id)
Enable the openWizardAction. |
KevComposite |
getComposite()
Returns the current KEVComposite. |
org.apache.batik.swing.JSVGCanvas |
getSVGCanvas()
Returns the current EclipseJSVGCanvas. |
void |
setFocus()
Sets the focus to the KevComposite. |
Methods inherited from class org.eclipse.ui.part.ViewPart |
---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
public static final int BUTTON_OPEN_WIZARD
public static final int BUTTON_REFRESH
public static final int BUTTON_BOTH
public static final String ID
Constructor Detail |
---|
public KevView()
Method Detail |
---|
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
parent
- the Composite. This method is called by Eclipse.public void enableButton(int id)
id
- indicates which button should be enabledpublic void disableButton(int id)
id
- indicates which button should be disabledpublic void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public KevComposite getComposite()
KevComposite
public org.apache.batik.swing.JSVGCanvas getSVGCanvas()
EclipseJSVGCanvas
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |