|
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 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. |
org.eclipse.gmf.runtime.diagram.ui.editparts.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(Notification notification,
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 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, 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 ISectioncreateControls in class AbstractModelerPropertySectionprotected void initializeControls(Composite parent)
parent - - parent composite
protected boolean isCurrentSelection(Notification notification,
EObject element)
isCurrentSelection in class AbstractModelerPropertySectionnotification - The notificationelement - The element to be tested
public org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart getSingleInput()
protected EObject unwrap(java.lang.Object object)
AbstractModelerPropertySection
unwrap in class AbstractModelerPropertySectionobject - -
object from a diagram or ME
AbstractModelerPropertySection.unwrap(java.lang.Object)protected EObject adapt(java.lang.Object object)
adapt in class AbstractModelerPropertySectionobject - 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.