public class ICEMeshPage extends ICEFormPage implements org.eclipse.ui.ISelectionListener, IMeshSelectionListener, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Eclipse view ID
|
Constructor and Description |
---|
ICEMeshPage(org.eclipse.ui.forms.editor.FormEditor editor,
java.lang.String id,
java.lang.String title)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
createFormContent(org.eclipse.ui.forms.IManagedForm managedForm)
This operation overrides the default/abstract implementation of
FormPage.createFormContents to create the contents of the ICEMeshPage and
set the page layout.
|
java.lang.Object |
getAdapter(java.lang.Class adapter) |
java.lang.String |
getContributorId() |
MeshComponent |
getMeshComponent()
This operation retrieves the MeshComponent displayed by this page or null
if the component does not exist.
|
org.eclipse.jface.viewers.ISelection |
getSelection() |
void |
removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener) |
void |
selectionChanged()
This method should make the appropriate ISelectionProvider calls to send
the recent update to the MeshApplication's selection to the other
ISelectionListeners.
|
void |
selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
This operation overrides the default/abstract implementation of
ISelectionListener.selectionChanged to capture selections made in the
MeshElementTreeView and highlight the corresponding element in the jME3
canvas.
|
void |
setMeshComponent(MeshComponent component)
This operation sets the MeshComponent that should be used by the
ICEMeshPage.
|
void |
setSelection(org.eclipse.jface.viewers.ISelection selection) |
canLeaveThePage, createPartControl, dispose, doSave, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String ID
public ICEMeshPage(org.eclipse.ui.forms.editor.FormEditor editor, java.lang.String id, java.lang.String title)
editor
- The FormEditor for which the page should be constructed.id
- The id of the page.title
- The title of the page.public MeshComponent getMeshComponent()
public void setMeshComponent(MeshComponent component)
component
- The MeshComponent for the pagepublic void createFormContent(org.eclipse.ui.forms.IManagedForm managedForm)
createFormContent
in class org.eclipse.ui.forms.editor.FormPage
managedForm
- The Form widget on which the ICEMeshPage exists.public void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.ISelectionListener
part
- The IWorkbenchPart that called this function.selection
- The ISelection chosen in the part parameter.public void selectionChanged()
selectionChanged
in interface IMeshSelectionListener
public void addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
addSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
ISelectionProvider.addSelectionChangedListener(ISelectionChangedListener)
public org.eclipse.jface.viewers.ISelection getSelection()
getSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
ISelectionProvider.getSelection()
public void removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener listener)
removeSelectionChangedListener
in interface org.eclipse.jface.viewers.ISelectionProvider
ISelectionProvider.removeSelectionChangedListener(ISelectionChangedListener)
public void setSelection(org.eclipse.jface.viewers.ISelection selection)
setSelection
in interface org.eclipse.jface.viewers.ISelectionProvider
ISelectionProvider.setSelection(ISelection)
public java.lang.String getContributorId()
getContributorId
in interface org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.ui.part.WorkbenchPart