org.topcased.modeler.editor.properties.sections.graphics
Class EdgeObjectVisibilityPropertySection
java.lang.Object
org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.topcased.modeler.editor.properties.sections.graphics.AbstractGraphicPropertySection
org.topcased.modeler.editor.properties.sections.graphics.EdgeObjectVisibilityPropertySection
- All Implemented Interfaces:
- org.eclipse.ui.views.properties.tabbed.ISection
public class EdgeObjectVisibilityPropertySection
- extends AbstractGraphicPropertySection
The EdgeObject visibility section on the graphics tab. Here you can choose to show/hide an EdgeObject
Creation 13 févr. 07
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
STANDARD_LABEL_WIDTH |
Method Summary |
void |
aboutToBeHidden()
|
void |
aboutToBeShown()
|
void |
createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected java.util.List |
getHiddenElements()
Get the list of EdgeObjects contained by the current selected GraphElement which are hidden. |
protected org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider()
Get the LabelProvider to use to display the Object |
protected java.util.List |
getVisibleElements()
Get the list of visible EdgeObjects for the current selected GraphElement. |
protected void |
handleModelChanged(Notification msg)
This method is called when an event occured on the model objects |
void |
setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
|
boolean |
shouldUseExtraSpace()
|
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
dispose, getMinimumHeight, getPart, getSelection, getWidgetFactory, refresh |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdgeObjectVisibilityPropertySection
public EdgeObjectVisibilityPropertySection()
createControls
public void createControls(org.eclipse.swt.widgets.Composite parent,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage)
- Specified by:
createControls
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
createControls
in class AbstractGraphicPropertySection
- See Also:
ISection.createControls(org.eclipse.swt.widgets.Composite,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage)
setInput
public void setInput(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
setInput
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
setInput
in class AbstractGraphicPropertySection
- See Also:
ISection.setInput(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
aboutToBeShown
public void aboutToBeShown()
- Specified by:
aboutToBeShown
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
aboutToBeShown
in class AbstractGraphicPropertySection
- See Also:
ISection.aboutToBeShown()
aboutToBeHidden
public void aboutToBeHidden()
- Specified by:
aboutToBeHidden
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
aboutToBeHidden
in class AbstractGraphicPropertySection
- See Also:
AbstractPropertySection.aboutToBeHidden()
shouldUseExtraSpace
public boolean shouldUseExtraSpace()
- Specified by:
shouldUseExtraSpace
in interface org.eclipse.ui.views.properties.tabbed.ISection
- Overrides:
shouldUseExtraSpace
in class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
- See Also:
AbstractPropertySection.shouldUseExtraSpace()
getLabelProvider
protected org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
- Get the LabelProvider to use to display the Object
- Returns:
- ILabelProvider
getVisibleElements
protected java.util.List getVisibleElements()
- Get the list of visible EdgeObjects for the current selected GraphElement.
- Returns:
- List the list of EdgeObjects that are visible
getHiddenElements
protected java.util.List getHiddenElements()
- Get the list of EdgeObjects contained by the current selected GraphElement which are hidden.
- Returns:
- List the list of EdgeObjects that are not visible
handleModelChanged
protected void handleModelChanged(Notification msg)
- Description copied from class:
AbstractGraphicPropertySection
- This method is called when an event occured on the model objects
- Specified by:
handleModelChanged
in class AbstractGraphicPropertySection
- Parameters:
msg
- the event notification- See Also:
AbstractGraphicPropertySection.handleModelChanged(org.eclipse.emf.common.notify.Notification)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.