|
||||||||||
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.kiml.ui.views.LayoutViewPart
public class LayoutViewPart
A view that displays layout options for selected objects.
Field Summary | |
---|---|
static String |
VIEW_ID
the view identifier. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
LayoutViewPart()
|
Method Summary | |
---|---|
void |
createPartControl(Composite parent)
|
void |
dispose()
|
void |
editorChanged(IEditorPart activeEditor)
Fired when the active editor has changed. |
static LayoutViewPart |
findView()
Finds the active layout view, if it exists. |
String |
getCurrentDiagramType()
Returns the diagram type identifier for the current selection. |
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor |
getCurrentEditor()
Returns the currently active editor that is tracked by the layout view. |
EditPart |
getCurrentEditPart()
Returns the first edit part in the current selection for which options are shown. |
LayoutProviderData[] |
getCurrentProviderData()
Returns the current layout provider data. |
List<IPropertySheetEntry> |
getSelection()
Returns the current selection of the layout view. |
void |
refresh()
Refreshes the layout view asynchronously. |
void |
selectionChanged(SelectionChangedEvent event)
|
void |
setCurrentProviderData(LayoutProviderData[] thecurrentProviderData)
Sets the current layout provider data. |
void |
setFocus()
|
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 String VIEW_ID
Constructor Detail |
---|
public LayoutViewPart()
Method Detail |
---|
public static LayoutViewPart findView()
null
if there is nonepublic void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void dispose()
dispose
in interface IWorkbenchPart
dispose
in class WorkbenchPart
public void refresh()
public void selectionChanged(SelectionChangedEvent event)
selectionChanged
in interface ISelectionChangedListener
public void editorChanged(IEditorPart activeEditor)
editorChanged
in interface IEditorChangeListener
activeEditor
- the new active editorpublic List<IPropertySheetEntry> getSelection()
public String getCurrentDiagramType()
null
if there is no such diagram typepublic EditPart getCurrentEditPart()
null
if there is nonepublic org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor getCurrentEditor()
null
if there is nonepublic void setCurrentProviderData(LayoutProviderData[] thecurrentProviderData)
thecurrentProviderData
- the current layout provider datapublic LayoutProviderData[] getCurrentProviderData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |