C D E G H I O P R S

C

CmtComponent - Interface in com.swtdesigner.api.cmt
An interface for providing information about this class including class type, properties, events, etc.
CmtPropertyEditor - Interface in com.swtdesigner.api.cmt
Allows a property editor to learn about its surroundings such as the property that it represents, the component that the property is part of, and the source file that is being designed.
CmtPropertyState - Interface in com.swtdesigner.api.cmt
Container with information about property.
com.swtdesigner.api.beans - package com.swtdesigner.api.beans
 
com.swtdesigner.api.cmt - package com.swtdesigner.api.cmt
 
com.swtdesigner.api.property.editor - package com.swtdesigner.api.property.editor
 
com.swtdesigner.api.swt.customizer - package com.swtdesigner.api.swt.customizer
 
com.swtdesigner.api.swt.property.editor - package com.swtdesigner.api.swt.property.editor
 
createControl(Composite, Object) - Method in interface com.swtdesigner.api.swt.customizer.ICustomizer
Create the control that should be used for customizing target control.

D

DESIGNER_PREFIX - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Common prefix for all SWT/Swing Designer attributes.

E

EXPLICIT_PROPERTY_CHANGE - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Attribute for BeanDescriptor, when Boolean.TRUE means that Customizer will explicitly perform firePropertyChange for each changed property.

G

getAllChildren(Class<?>) - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get flat list of direct and indirect children with given class.
getButtonImage() - Method in interface com.swtdesigner.api.swt.property.editor.IButtonPropertyEditor
Returns image that should be displayed on button.
getButtonImage() - Method in interface com.swtdesigner.api.swt.property.editor.IPaintPropertyEditor
Returns image that should be displayed on button.
getChildren(Class<?>) - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get list of direct children with given class.
getComponent() - Method in interface com.swtdesigner.api.cmt.CmtPropertyState
Retrieves the component for which this class is a property state.
getItems() - Method in interface com.swtdesigner.api.swt.property.editor.IComboPropertyEditor
Returns array of items to show in combo box.
getJavaSource() - Method in interface com.swtdesigner.api.swt.property.editor.IPropertyEditor
Returns Java source for current value.
getLiveInstance() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get the toolkit object, such as java.awt.Component.
getModel() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get the internal model of component.
getName() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get the name of the variable.
getParent() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get the parent of this component or null, if current component is root.
getRoot() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Get the root component of this component (parent of this component is null).
getShell() - Method in interface com.swtdesigner.api.property.editor.IPropertyEditorSite
Returns Shell of Eclipse window.
getText() - Method in interface com.swtdesigner.api.swt.property.editor.IComboPropertyEditor
Returns text to show in combo box.
getText() - Method in interface com.swtdesigner.api.swt.property.editor.ITextPropertyEditor
Returns text presentation of property to show in property table.
Designer will call setValue() before.
getValue() - Method in interface com.swtdesigner.api.swt.property.editor.IPropertyEditor
Returns value from editor after editing (for example using custom dialog).

H

hasName() - Method in interface com.swtdesigner.api.cmt.CmtComponent
Checks if component has name.

I

IBeanAttributes - Interface in com.swtdesigner.api.beans
Various constants for BeanDescriptor/PropertyDescriptor's.
IButtonPropertyEditor - Interface in com.swtdesigner.api.swt.property.editor
Property editor marker that can respond on "..." button click, for example open some dialog.
IComboPropertyEditor - Interface in com.swtdesigner.api.swt.property.editor
Property editor that uses combo box as property editor control.
ICustomizer - Interface in com.swtdesigner.api.swt.customizer
A customizer class provides a complete custom GUI for customizing a target SWT control.
IMPORTANT_PROPERTIES - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Attribute for BeanDescriptor that contains array of important properties names.
IMPORTANT_PROPERTY - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Attribute for PropertyDescriptor that marks it as important (displayed on top of property table and with bold font).
initialize(IPropertyEditorSite) - Method in interface com.swtdesigner.api.swt.property.editor.IPropertyEditor
Initializes property editor with site before first use.
IPaintPropertyEditor - Interface in com.swtdesigner.api.swt.property.editor
Property editor that paints property value itself.
IPropertyEditor - Interface in com.swtdesigner.api.swt.property.editor
Abstract custom property editor.
IPropertyEditorSite - Interface in com.swtdesigner.api.property.editor
Site for property editor.
IS_CONTAINER - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Specifies whether a component is a container or not.
ITextPropertyEditor - Interface in com.swtdesigner.api.swt.property.editor
Property editor that shows text as property value.

O

onButtonClick() - Method in interface com.swtdesigner.api.swt.property.editor.IButtonPropertyEditor
Designer calls this method when user clicks on button.
You can show here dialog using Shell returned by property editor site.
onButtonClick() - Method in interface com.swtdesigner.api.swt.property.editor.IPaintPropertyEditor
Designer calls this method when user clicks on button.
You can show here dialog using Shell returned by property editor site.

P

paint(GC, Rectangle, boolean) - Method in interface com.swtdesigner.api.swt.property.editor.IPaintPropertyEditor
Designer calls this method to paint value of property in property table.
PROPERTY_PREFIX - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Common prefix for all property-related attributes.

R

REQUIRED_PROPERTIES - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Attribute for BeanDescriptor that contains array of required properties names.
REQUIRED_PROPERTY - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
Attribute for PropertyDescriptor that marks it as required (displayed as important, but also shown red in property table and components tree if not set).

S

setPropertyState(CmtPropertyState) - Method in interface com.swtdesigner.api.cmt.CmtPropertyEditor
Supplies the property state for this property that is being edited.
setSelection(int, String) - Method in interface com.swtdesigner.api.swt.property.editor.IComboPropertyEditor
When user changes selection in combo box, Designer will notify editor about this.
You can use index or text to handle selection.
setText(String) - Method in interface com.swtdesigner.api.swt.property.editor.ITextPropertyEditor
Changes property using new text.
setValue(Object) - Method in interface com.swtdesigner.api.property.editor.IPropertyEditorSite
Allows property editor change value of property.
setValue(Object) - Method in interface com.swtdesigner.api.swt.property.editor.IPropertyEditor
Sets value to editor, for example to get Java source for this value.
SWT_STYLE - Static variable in interface com.swtdesigner.api.beans.IBeanAttributes
 

C D E G H I O P R S