| org.netbeans.modules.xml.schema.ui.nodes.SchemaComponentNode
allowReordering | protected boolean allowReordering()(Code) | | Indicates if this node should allow reordering of its children.
The default implementation allows reordering only if there is
more than one child component.
true if reordering of this node's children is permitted. |
applyHighlights | protected String applyHighlights(String name)(Code) | | Given a display name, add the appropriate HTML tags to highlight
the display name as dictated by any Highlights associated with
this node.
Parameters: name - current display name. marked up display name. |
canCopy | public boolean canCopy()(Code) | | |
canCut | public boolean canCut()(Code) | | |
canDestroy | public boolean canDestroy()(Code) | | |
canRename | public boolean canRename()(Code) | | |
cleanup | protected void cleanup()(Code) | | This is a hook for the subclasses if they want to do something special in the same transaction.
For example, when an import gets deleted, we should also remove the namespace declaration.
|
createSheet | protected Sheet createSheet()(Code) | | |
destroy | public void destroy() throws IOException(Code) | | Checks for references to this component, and if none are found,
remove it from the model.
|
getChildCount | public int getChildCount()(Code) | | |
getCustomizer | public java.awt.Component getCustomizer()(Code) | | Overriden to provide custom customizer.
Gets the customizer component from customizer provider
and displays it as modal dialog.
Subclasses who provide customizer should override
hasCustomizer and return true.
|
getCustomizerProvider | protected CustomizerProvider getCustomizerProvider()(Code) | | This api returns the customizer provider.
Subclasses must override this api to return appropriate
customizer provider
|
getDefaultDisplayName | public String getDefaultDisplayName()(Code) | | |
getDropType | public PasteType getDropType(Transferable transferable, int action, int index)(Code) | | |
getHelpCtx | public HelpCtx getHelpCtx()(Code) | | |
getHtmlTypeDisplayName | protected String getHtmlTypeDisplayName()(Code) | | |
getLookupContents | protected InstanceContent getLookupContents()(Code) | | Returns the contents of the lookup. All cookies and other objects that
should be findable via the lookup should be added to this.
|
getNewTypes | final public NewType[] getNewTypes()(Code) | | |
getNewTypesFactory | protected NewTypesFactory getNewTypesFactory()(Code) | | This api returns the factory which gives back new types for this node.
Default FactoryImpl provides addition of annotation.
Subclasses can override this api to allow addition of their allowed
child types.
|
getSuperDefinition | protected ReferenceableSchemaComponent getSuperDefinition()(Code) | | Finds the super definition of the schema component.
Returns null as default implementation
Subclasses which fave global type or reference definitions,
must override to return the global reference.
|
getTypeDisplayName | abstract public String getTypeDisplayName()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isDefaultExpanded | public boolean isDefaultExpanded()(Code) | | |
isEditable | protected boolean isEditable()(Code) | | Determines if this node represents a component that is contained
is editable
true if component is editable, false otherwise. |
isValid | protected boolean isValid()(Code) | | Determines if this node represents a component that is contained
in a valid (non-null) model.
true if model is valid, false otherwise. |
propertyChange | public void propertyChange(PropertyChangeEvent event)(Code) | | Reacts to granular property change events from model.
Updates displayname if needed.
Fires properties changed events if needed.
Subclasses override if needed.
|
setDefaultExpanded | public void setDefaultExpanded(boolean value)(Code) | | |
setReferencingNode | public void setReferencingNode(Node referencingNode)(Code) | | This api is used to set the back pointer to the ReadOnlySchemaComponentNode,
which represents this node on UI in case of refrenced components.
|
updateDisplayName | protected void updateDisplayName()(Code) | | Used by subclasses to update the display name as needed. The default
implementation updates the display name for named schema components.
Note, this method may be called from the constructor, so be sure to
avoid using member variables!
|
|
|