public class GeneralInfoSection
extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
ISection
that displays general properties
about IMeshPart
s. This includes their name, description, and ID.Constructor and Description |
---|
GeneralInfoSection()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
Creates the controls displayed in the section.
|
void |
dispose()
This should dispose of any resources used by this section.
|
void |
refresh()
This should update all of the widgets that show data from the associated
IMeshPart . |
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
This should take an
IMeshPart from the current selection and set
it as the object whose properties are exposed. |
public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
nameText
, descText
, and idLabel
.createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
createControls
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void setInput(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
IMeshPart
from the current selection and set
it as the object
whose properties are exposed.setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
setInput
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void dispose()
dispose
in interface org.eclipse.ui.views.properties.tabbed.ISection
dispose
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
public void refresh()
IMeshPart
.refresh
in interface org.eclipse.ui.views.properties.tabbed.ISection
refresh
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection