@Override @Deprecated public SystemAction[] getContextActions() { if (delegating(DELEGATE_GET_CONTEXT_ACTIONS)) { return original.getContextActions(); } else { return super.getContextActions(); } }
@Override @Deprecated public SystemAction[] getActions() { if (delegating(DELEGATE_GET_ACTIONS)) { return original.getActions(); } else { return super.getActions(); } }
@Override public void setShortDescription(String s) { if (delegating(DELEGATE_SET_SHORT_DESCRIPTION)) { original.setShortDescription(s); } else { super.setShortDescription(s); } }
@Override public void setName(String s) { if (delegating(DELEGATE_SET_NAME)) { original.setName(s); } else { super.setName(s); } }
@Override public String getShortDescription() { if (delegating(DELEGATE_GET_SHORT_DESCRIPTION)) { return original.getShortDescription(); } else { return super.getShortDescription(); } }
@Override public void setDisplayName(String s) { if (delegating(DELEGATE_SET_DISPLAY_NAME)) { original.setDisplayName(s); } else { super.setDisplayName(s); } }
@Override public String getDisplayName() { if (delegating(DELEGATE_GET_DISPLAY_NAME)) { return original.getDisplayName(); } else { return super.getDisplayName(); } }
@Override public void destroy() throws java.io.IOException { if (delegating(DELEGATE_DESTROY)) { original.destroy(); } else { super.destroy(); } }
@Override public void setValue(String attributeName, Object value) { if (delegating(DELEGATE_SET_VALUE)) { original.setValue(attributeName, value); } else { super.setValue(attributeName, value); } }
@Override public Object getValue(String attributeName) { if (delegating(DELEGATE_GET_VALUE)) { return original.getValue(attributeName); } else { return super.getValue(attributeName); } }
@Override public String getName() { if (delegating(DELEGATE_GET_NAME)) { return original.getName(); } else { return super.getName(); } }
@Override public javax.swing.Action[] getActions(boolean context) { if (context) { if (!delegating(DELEGATE_GET_ACTIONS) || overridesAMethod("getContextActions")) { // NOI18N return super.getActions(context); } } else { if (!delegating(DELEGATE_GET_CONTEXT_ACTIONS) || overridesAMethod("getActions")) { // NOI18N return super.getActions(context); } } javax.swing.Action[] retValue; retValue = original.getActions(context); return retValue; }
/** Get a display name containing HTML markup. <strong><b>Note:</b> If you subclass * FilterNode and override <code>getDisplayName()</code>, this method will * always return null unless you override it as well (assuming that if you're * changing the display name, you don't want an HTML display name constructed * from the original node's display name to be what shows up in views of * this node).</strong> If <code>getDisplayName()</code> is not overridden, * this method will return whatever the original node returns from this * method. * <p> * Note that if you do override <code>getDisplayName</code>, you should also override * this method to return null. * * * * @see org.openide.nodes.Node#getHtmlDisplayName * @return An HTML display name, if available, or null if no display name * is available */ @Override public String getHtmlDisplayName() { if (overridesGetDisplayName()) { return null; } else { return delegating(DELEGATE_GET_DISPLAY_NAME) ? original.getHtmlDisplayName() : super.getHtmlDisplayName(); } }
public String getShortDescription () { if (delegating (DELEGATE_GET_SHORT_DESCRIPTION)) { return original.getShortDescription (); } else { return super.getShortDescription (); } }
public String getShortDescription () { if (delegating (DELEGATE_GET_SHORT_DESCRIPTION)) { return original.getShortDescription (); } else { return super.getShortDescription (); } }
public SystemAction[] getContextActions () { if (delegating (DELEGATE_GET_CONTEXT_ACTIONS)) return original.getContextActions (); else return super.getContextActions (); }
public void setShortDescription (String s) { if (delegating (DELEGATE_SET_SHORT_DESCRIPTION)) { original.setShortDescription (s); } else { super.setShortDescription (s); } }
public void setName (String s) { if (delegating (DELEGATE_SET_NAME)) { original.setName (s); } else { super.setName (s); } }
public void setShortDescription (String s) { if (delegating (DELEGATE_SET_SHORT_DESCRIPTION)) { original.setShortDescription (s); } else { super.setShortDescription (s); } }
public javax.swing.Action[] getActions(boolean context) { if (context) { if (!delegating (DELEGATE_GET_ACTIONS) || overridesAMethod ("getContextActions", new Class[0])) // NOI18N return super.getActions (context); } else { if (!delegating (DELEGATE_GET_CONTEXT_ACTIONS) || overridesAMethod ("getActions", new Class[0])) // NOI18N return super.getActions (context); } javax.swing.Action[] retValue; retValue = original.getActions(context); return retValue; }