de.cau.cs.kieler.kiml.ui.views
Class LayoutPropertyDescriptor

java.lang.Object
  extended by de.cau.cs.kieler.kiml.ui.views.LayoutPropertyDescriptor
All Implemented Interfaces:
IPropertyDescriptor

public class LayoutPropertyDescriptor
extends Object
implements IPropertyDescriptor

A property descriptor for layout options.

Rating proposed yellow
(2009-12-11) msp

Constructor Summary
LayoutPropertyDescriptor(LayoutOptionData theoptionData, String[] thelayoutHintChoices, String[] thelayoutHintValues)
          Creates a layout property descriptor based on a specific layout option.
 
Method Summary
 CellEditor createPropertyEditor(Composite parent)
          
 String getCategory()
          
 String getDescription()
          
 String getDisplayName()
          
 String[] getFilterFlags()
          
 Object getHelpContextIds()
          
 Object getId()
          
 ILabelProvider getLabelProvider()
          
 boolean isCompatibleWith(IPropertyDescriptor anotherProperty)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutPropertyDescriptor

public LayoutPropertyDescriptor(LayoutOptionData theoptionData,
                                String[] thelayoutHintChoices,
                                String[] thelayoutHintValues)
Creates a layout property descriptor based on a specific layout option.

Parameters:
theoptionData - the layout option data
thelayoutHintChoices - the array of choices for the layout hint option
thelayoutHintValues - the array of identifiers for the layout hint option
Method Detail

createPropertyEditor

public CellEditor createPropertyEditor(Composite parent)

Specified by:
createPropertyEditor in interface IPropertyDescriptor

getCategory

public String getCategory()

Specified by:
getCategory in interface IPropertyDescriptor

getDescription

public String getDescription()

Specified by:
getDescription in interface IPropertyDescriptor

getDisplayName

public String getDisplayName()

Specified by:
getDisplayName in interface IPropertyDescriptor

getFilterFlags

public String[] getFilterFlags()

Specified by:
getFilterFlags in interface IPropertyDescriptor

getHelpContextIds

public Object getHelpContextIds()

Specified by:
getHelpContextIds in interface IPropertyDescriptor

getId

public Object getId()

Specified by:
getId in interface IPropertyDescriptor

getLabelProvider

public ILabelProvider getLabelProvider()

Specified by:
getLabelProvider in interface IPropertyDescriptor

isCompatibleWith

public boolean isCompatibleWith(IPropertyDescriptor anotherProperty)

Specified by:
isCompatibleWith in interface IPropertyDescriptor