|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xtext.ui.graph.RailroadSynchronizer
public class RailroadSynchronizer
Synchronizes the railroad diagram view with the active editor.
Constructor Summary | |
---|---|
RailroadSynchronizer()
|
Method Summary | |
---|---|
org.eclipse.swt.graphics.Font |
getFont()
|
void |
modelChanged(XtextResource resource)
|
void |
partActivated(org.eclipse.ui.IWorkbenchPart part)
Notifies this listener that the given part has been activated. |
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
Notifies this listener that the given part has been brought to the top. |
void |
partClosed(org.eclipse.ui.IWorkbenchPart part)
Notifies this listener that the given part has been closed. |
void |
partDeactivated(org.eclipse.ui.IWorkbenchPart part)
Notifies this listener that the given part has been deactivated. |
void |
partOpened(org.eclipse.ui.IWorkbenchPart part)
Notifies this listener that the given part has been opened. |
void |
start(org.eclipse.ui.IWorkbenchPartSite site)
|
void |
stop(org.eclipse.ui.IWorkbenchPartSite site)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RailroadSynchronizer()
Method Detail |
---|
public void start(org.eclipse.ui.IWorkbenchPartSite site)
public void stop(org.eclipse.ui.IWorkbenchPartSite site)
public void partActivated(org.eclipse.ui.IWorkbenchPart part)
org.eclipse.ui.IPartListener
partActivated
in interface org.eclipse.ui.IPartListener
part
- the part that was activatedIWorkbenchPage.activate(org.eclipse.ui.IWorkbenchPart)
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPart part)
org.eclipse.ui.IPartListener
These events occur when an editor is brought to the top in the editor area,
or when a view is brought to the top in a page book with multiple views.
They are normally only sent when a part is brought to the top
programmatically (via IPerspective.bringToTop
). When a part is
activated by the user clicking on it, only partActivated
is sent.
partBroughtToTop
in interface org.eclipse.ui.IPartListener
part
- the part that was surfacedIWorkbenchPage.bringToTop(org.eclipse.ui.IWorkbenchPart)
public void partClosed(org.eclipse.ui.IWorkbenchPart part)
org.eclipse.ui.IPartListener
partClosed
in interface org.eclipse.ui.IPartListener
part
- the part that was closedIWorkbenchPage.hideView(IViewPart)
public void partDeactivated(org.eclipse.ui.IWorkbenchPart part)
org.eclipse.ui.IPartListener
partDeactivated
in interface org.eclipse.ui.IPartListener
part
- the part that was deactivatedIWorkbenchPage.activate(IWorkbenchPart)
public void partOpened(org.eclipse.ui.IWorkbenchPart part)
org.eclipse.ui.IPartListener
partOpened
in interface org.eclipse.ui.IPartListener
part
- the part that was openedIWorkbenchPage.showView(String)
public void modelChanged(XtextResource resource)
modelChanged
in interface IXtextModelListener
public org.eclipse.swt.graphics.Font getFont()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |