|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.views.properties.tabbed.AbstractPropertySection
org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection
org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection
public abstract class AbstractNotationPropertiesSection
Field Summary | |
---|---|
protected static int |
button_margin
|
protected Composite |
composite
|
protected int |
standardLabelWidth
|
protected static int |
vertical_offset
|
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection |
---|
disposed, eObject, eventListener, input, propertiesProvider, VALUE_CHANGED_STRING |
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
STANDARD_LABEL_WIDTH |
Constructor Summary | |
---|---|
AbstractNotationPropertiesSection()
|
Method Summary | |
---|---|
protected org.eclipse.emf.ecore.EObject |
adapt(java.lang.Object object)
Adapt the object to an EObject - if possible |
void |
createControls(Composite parent,
TabbedPropertySheetPage aTabbedPropertySheetPage)
|
protected java.lang.String[] |
getAllNameLabels()
|
protected ILabelProvider |
getLabelProvider(java.lang.Object propertyId)
Get a label provider to do the translation Most entries on this page are handled using the string table to take care of translation. |
IGraphicalEditPart |
getSingleInput()
Returns currently selected view object |
protected int |
getStandardLabelWidth(Composite parent)
|
protected void |
initializeControls(Composite parent)
Provides a level of indirection for subclasses which want 'jump' over some control creation/initilialization steps and/or chnage thier order |
protected boolean |
isCurrentSelection(org.eclipse.emf.common.notify.Notification notification,
org.eclipse.emf.ecore.EObject element)
Determines if the page is displaying properties for this element The element being passed to us is the style ie UMLConnectorStyle or UMLShapeStype. |
protected org.eclipse.emf.ecore.EObject |
unwrap(java.lang.Object object)
Unwarp the ME or diagram object down to the underlaying UML element |
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection |
---|
aboutToBeHidden, aboutToBeShown, addToEObjectList, createCommand, createCommand, digIntoGroups, dispose, executeAsCompositeCommand, executeAsReadAction, getEditingDomain, getEObject, getEObjectList, getEventListener, getFilter, getInput, getPrimarySelection, getStandardLabelWidth, getUpdateRequestCollapser, handleElementModifiedEvent, isDisposed, isNotifierDeleted, isReadOnly, postUpdateRequest, setEditingDomain, setEObject, setInput, update, update |
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection |
---|
getMinimumHeight, getPart, getSelection, getWidgetFactory, refresh, shouldUseExtraSpace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static int vertical_offset
protected static int button_margin
protected int standardLabelWidth
protected Composite composite
Constructor Detail |
---|
public AbstractNotationPropertiesSection()
Method Detail |
---|
protected ILabelProvider getLabelProvider(java.lang.Object propertyId)
public void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage)
createControls
in interface ISection
createControls
in class AbstractModelerPropertySection
protected void initializeControls(Composite parent)
parent
- - parent compositeprotected boolean isCurrentSelection(org.eclipse.emf.common.notify.Notification notification, org.eclipse.emf.ecore.EObject element)
isCurrentSelection
in class AbstractModelerPropertySection
notification
- The notificationelement
- The element to be tested
public IGraphicalEditPart getSingleInput()
protected org.eclipse.emf.ecore.EObject unwrap(java.lang.Object object)
AbstractModelerPropertySection
unwrap
in class AbstractModelerPropertySection
object
- -
object from a diagram or ME
AbstractModelerPropertySection.unwrap(java.lang.Object)
protected org.eclipse.emf.ecore.EObject adapt(java.lang.Object object)
adapt
in class AbstractModelerPropertySection
object
- object from a diagram or ME
protected int getStandardLabelWidth(Composite parent)
AbstractModelerPropertySection.getStandardLabelWidth(org.eclipse.swt.widgets.Composite,
java.lang.String[])
protected java.lang.String[] getAllNameLabels()
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.