org.netbeans.modules.sql.framework.ui.graph .IOperatorXmlInfo All known Subclasses: org.netbeans.modules.sql.framework.model.impl .OperatorNodeX , org.netbeans.modules.sql.framework.ui.graph.impl .CustomOperatorNode , org.netbeans.modules.sql.framework.ui.graph.impl .OperatorNode ,IOperatorXmlInfo public interface IOperatorXmlInfo (Code) author: Ritesh Advalversion: $Revision$
OPERATOR_CHECKED final public static String OPERATOR_CHECKED (Code) Event descriptor indicating operator is marked for display in toolbar
OPERATOR_DROPPED final public static String OPERATOR_DROPPED (Code) Event descriptor indicating new instance operator should be dropped onto current
collaboration canvas.
addPropertyChangeListener public void addPropertyChangeListener(PropertyChangeListener l)(Code) Adds the given property change listener.
Parameters: l - new PropertyChangeListener to add
getAttributeValue public Object getAttributeValue(String name)(Code) Gets the value of the attribute with the given name
Parameters: name - name of attribute whose value is to be retrieved value of the attribute
getDisplayName public String getDisplayName()(Code) Gets the (localized) display name of this operator
display name
getIcon public Icon getIcon()(Code) Get the icon for this operator
getInputCount public int getInputCount()(Code) Gets number of inputs for thie operator
number of inputs
getInputFields public List getInputFields()(Code) Gets the input list of IOperatorFields
list of input list
getName public String getName()(Code) Gets the (non-localized) name of this operator
name
getObjectClassName public String getObjectClassName()(Code) Gets class name of SQLBuilder object associated with this operator
object type
getOutputCount public int getOutputCount()(Code) Gets number of outputs for thie operator
number of outputs
getOutputFields public List getOutputFields()(Code) Gets the output list of IOperatorFields
list of output list
getToolTip public String getToolTip()(Code) Gets tool tip for the operator
tool tip
getToolbarType public int getToolbarType()(Code) Returns Toolbar type/category for this operator Node. See IOperatorXmlInfoModel for
Toolbar types.
toobar type this operator node can belong.
getTransferable public Transferable getTransferable()(Code) Gets the transferable object
transferable
isChecked public boolean isChecked()(Code) Indicates whether to display this operator in the toolbar
true if displayable, false otherwise
isJavaOperator public boolean isJavaOperator()(Code) Is this a java operator.
true if this operator is implemented and should be invoked in java.
isShowParenthesis public boolean isShowParenthesis()(Code) check if open and close paranthesis should be used
bool
removePropertyChangeListener public void removePropertyChangeListener(PropertyChangeListener l)(Code) Removes the given property change listener.
Parameters: l - PropertyChangeListener to remove
setAttributeValue public void setAttributeValue(String attrName, Object val)(Code) Sets an attribute's value
Parameters: attrName - attribute nameParameters: val - attribute value
setChecked public void setChecked(boolean checked)(Code) Sets whether to display this operator in the toolbar
Parameters: checked - true if this operator should be displayed
setDropInstance public void setDropInstance(boolean dropped)(Code) Signals that an instance of this operator should be 'dropped' onto the current
collaboration canvas.
Parameters: dropped - true if a new instance should be dropped.