Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance
Class DiagramColorsAndFontsPropertySection

java.lang.Object
  extended by 

org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection
          extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractNotationPropertiesSection
              extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ColorsAndFontsPropertySection
                  extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ColoursAndFontsAndLineStylesPropertySection
                      extended by 

org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ShapeColorsAndFontsPropertySection
                          extended by 
org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.DiagramColorsAndFontsPropertySection
All Implemented Interfaces:
ISection

public class DiagramColorsAndFontsPropertySection
extends ShapeColorsAndFontsPropertySection


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ColorsAndFontsPropertySection
ColorsAndFontsPropertySection.ColorOverlayImageDescriptor
 
Field Summary
 
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ColoursAndFontsAndLineStylesPropertySection
ARROW_TYPE_COMMAND_NAME, arrowTypeButton, LINE_TYPE_COMMAND_NAME, LINE_WIDTH_COMMAND_NAME, lineStylesGroup, lineTypeButton, lineWidthButton, SOURCE_ARROW_TYPE_COMMAND_NAME, TARGET_ARROW_TYPE_COMMAND_NAME
 
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ColorsAndFontsPropertySection
colorsAndFontsGroup, DEFAULT_PREF_COLOR, FILL_COLOR_COMMAND_NAME, fillColor, fillColorButton, FONT_COLOR_COMMAND_NAME, FONT_COMMAND_NAME, fontColor, fontColorButton, fontFamilyCombo, FONTS_AND_COLORS_LABEL, LINE_COLOR_COMMAND_NAME, lineColor, lineColorButton, previousColor
 
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
DiagramColorsAndFontsPropertySection ()
           
 
Method Summary
protected  org.eclipse.emf.ecore.EObject adapt (java.lang.Object object)
          Adapt the object to an EObject - if possible
protected  void changeFillColor ()
          Change fill color property value
protected  void createLineStylesGroup ( Composite parent)
          Create the line styles group.
protected  java.util.Iterator getInputIterator ()
           
 IGraphicalEditPart getSingleInput ()
          Returns currently selected view object
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ShapeColorsAndFontsPropertySection
changeFillColor, createFontsGroup, refresh, updateColorCache
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ColoursAndFontsAndLineStylesPropertySection
changeArrowType, changeLineType, changeLineWidth, initializeControls
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance. ColorsAndFontsPropertySection
changeColor, changeColor, changeFontColor, changeLineColor, createFontsAndColorsGroups, digIntoGroups, dispose, disposeImage, setInput, update, updateFontBold, updateFontFamily, updateFontItalic, updateFontSize
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections. AbstractNotationPropertiesSection
createControls, getAllNameLabels, getLabelProvider, getStandardLabelWidth, isCurrentSelection, unwrap
 
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.properties.sections. AbstractModelerPropertySection
aboutToBeHidden, aboutToBeShown, addToEObjectList, createCommand, createCommand, executeAsCompositeCommand, executeAsReadAction, getEditingDomain, getEObject, getEObjectList, getEventListener, getFilter, getInput, getPrimarySelection, getStandardLabelWidth, getUpdateRequestCollapser, handleElementModifiedEvent, isDisposed, isNotifierDeleted, isReadOnly, postUpdateRequest, setEditingDomain, setEObject, 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
 

Constructor Detail

DiagramColorsAndFontsPropertySection

public DiagramColorsAndFontsPropertySection()
Method Detail

getInputIterator

protected java.util.Iterator getInputIterator()
Overrides:
getInputIterator in class ColorsAndFontsPropertySection
Returns:
- an iterator object to iterate over the selected/input edit parts

getSingleInput

public IGraphicalEditPart getSingleInput()
Description copied from class: AbstractNotationPropertiesSection
Returns currently selected view object

Overrides:
getSingleInput in class AbstractNotationPropertiesSection
Returns:
Returns the input.

changeFillColor

protected void changeFillColor()
Change fill color property value


adapt

protected org.eclipse.emf.ecore.EObject adapt(java.lang.Object object)
Adapt the object to an EObject - if possible

Overrides:
adapt in class AbstractNotationPropertiesSection
Parameters:
object - object from a diagram or ME
Returns:
EObject

createLineStylesGroup

protected void createLineStylesGroup(
Composite parent)
Description copied from class: ColoursAndFontsAndLineStylesPropertySection
Create the line styles group.

Overrides:
createLineStylesGroup in class ColoursAndFontsAndLineStylesPropertySection
Parameters:
parent - - parent composite

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire