|
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
org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.TextAlignmentPropertySection
public class TextAlignmentPropertySection
Property section to represent text alignment properties for a shape.
| Field Summary | |
|---|---|
protected static java.lang.String |
ALIGN_CENTER
|
protected static java.lang.String |
ALIGN_LEFT
|
protected static java.lang.String |
ALIGN_RIGHT
|
protected Button |
alignCenterButton
|
protected Button |
alignLeftButton
|
protected Button |
alignRightButton
|
protected static java.lang.String |
TEXT_ALIGNMENT
|
protected Group |
textAlignmentGroup
|
| Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection |
|---|
button_margin, composite, standardLabelWidth, 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 | |
|---|---|
TextAlignmentPropertySection()
|
|
| Method Summary | |
|---|---|
protected void |
alignCenter()
Center align the text for the selected editparts. |
protected void |
alignLeft()
Left align the text for the selected editparts. |
protected void |
alignRight()
Right align the text for the selected editparts. |
protected void |
createTextAlignmentGroup(Composite parent)
Create the text alignment group. |
protected boolean |
digIntoGroups()
Override to return true to have this property section work on the shapes in a GroupEditPart as if the shapes were multi-selected. |
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 |
void |
refresh()
|
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection |
|---|
adapt, createControls, getAllNameLabels, getLabelProvider, getSingleInput, getStandardLabelWidth, isCurrentSelection, unwrap |
| 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, shouldUseExtraSpace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String ALIGN_LEFT
protected static final java.lang.String ALIGN_CENTER
protected static final java.lang.String ALIGN_RIGHT
protected static final java.lang.String TEXT_ALIGNMENT
protected Button alignLeftButton
protected Button alignRightButton
protected Button alignCenterButton
protected Group textAlignmentGroup
| Constructor Detail |
|---|
public TextAlignmentPropertySection()
| Method Detail |
|---|
protected void alignCenter()
protected void alignLeft()
protected void alignRight()
protected void createTextAlignmentGroup(Composite parent)
parent - -
parent compositeprotected boolean digIntoGroups()
AbstractModelerPropertySectionGroupEditPart as if the shapes were multi-selected.
digIntoGroups in class AbstractModelerPropertySectionprotected void initializeControls(Composite parent)
AbstractNotationPropertiesSection
initializeControls in class AbstractNotationPropertiesSectionparent - - parent compositepublic void refresh()
refresh in interface ISectionrefresh in class AbstractPropertySection
|
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.