Runtime

org.eclipse.gmf.runtime.diagram.ui.properties.sections.grid
Class RulerGridPropertySection

java.lang.Object
  extended by org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
      extended by org.eclipse.gmf.runtime.diagram.ui.properties.sections.grid.RulerGridPropertySection
All Implemented Interfaces:
ISection

public class RulerGridPropertySection
extends AbstractPropertySection


Field Summary
protected static int LIGHT_GRAY_RGB
           
protected  Button lineColorButton
           
 
Fields inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
STANDARD_LABEL_WIDTH
 
Constructor Summary
RulerGridPropertySection()
           
 
Method Summary
 void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage)
           
protected  void createLineColorControl(Composite composite)
           
 void dispose()
           
protected  int getWorkspacePropertyInt(java.lang.String property)
           
 void setInput(IWorkbenchPart part, ISelection selection)
           
protected  void setLineColorButtonImage()
           
protected  void setWorkspaceProperty(java.lang.String property, int setting)
           
 
Methods inherited from class org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
aboutToBeHidden, aboutToBeShown, 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

lineColorButton

protected Button lineColorButton
Since:
1.2

LIGHT_GRAY_RGB

protected static final int LIGHT_GRAY_RGB
Since:
1.2
See Also:
Constant Field Values
Constructor Detail

RulerGridPropertySection

public RulerGridPropertySection()
Method Detail

createControls

public void createControls(Composite parent,
                           TabbedPropertySheetPage aTabbedPropertySheetPage)
Specified by:
createControls in interface ISection
Overrides:
createControls in class AbstractPropertySection

createLineColorControl

protected void createLineColorControl(Composite composite)
Since:
1.2

setInput

public void setInput(IWorkbenchPart part,
                     ISelection selection)
Specified by:
setInput in interface ISection
Overrides:
setInput in class AbstractPropertySection

setLineColorButtonImage

protected void setLineColorButtonImage()
Since:
1.2

dispose

public void dispose()
Specified by:
dispose in interface ISection
Overrides:
dispose in class AbstractPropertySection

setWorkspaceProperty

protected void setWorkspaceProperty(java.lang.String property,
                                    int setting)
Since:
1.2

getWorkspacePropertyInt

protected int getWorkspacePropertyInt(java.lang.String property)
Since:
1.2

Runtime

Guidelines for using Eclipse APIs.

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