private void handlePreparePopup(int row) { if (popupFactory != null) { ULCPopupMenu popupMenu = popupFactory .createPopupForTreepath(getPathForRow(row)); setComponentPopupMenu(popupMenu); } } }
/** * Removes an extended listener. * * @param listener * the listener. */ public void removeExtendedTreeWillExpandListener( IExtendedTreeWillExpandListener listener) { internalRemoveListener( ExtendedInternalFrameConstants.EXTENDED_INTERNAL_FRAME_EVENT, listener); }
/** * Removes an extended listener. * * @param listener * the listener. */ public void removeExtendedInternalFrameListener( IExtendedInternalFrameListener listener) { internalRemoveListener( ExtendedInternalFrameConstants.EXTENDED_INTERNAL_FRAME_EVENT, listener); }
/** * {@inheritDoc} */ public void copyAttributes(ICellComponent source) { sourceActionField = (ULCActionField) source; setActions(sourceActionField.actions); showTextField = sourceActionField.showTextField; }
public void actionPerformed(@SuppressWarnings("unused") ActionEvent e) { setVisible(false); } });
/** * Constructs a new <code>ULCExtendedButton</code> instance. * * @param icon * the button icon */ public ULCExtendedButton(ULCIcon icon) { super(icon); setBorder(null); }
/** * Removes a value change listener. * * @param listener * the listener to remove. */ public void removeValueChangedListener(IValueChangedListener listener) { internalRemoveListener(IUlcEventConstants.VALUE_CHANGED_EVENT, listener); }
/** * Adds an extended listener. * * @param listener * the listener. */ public void addTreeWillExpandListener(IExtendedTreeWillExpandListener listener) { internalAddListener(ExtendedTreeConstants.EXTENDED_TREE_EXPANSION_EVENT, listener); }
/** * Sets the action field value. * * @param value * the action field value. */ public void setValue(Object value) { updateValue(value, true); }
private void setEditingRow(int editingRow) { this.editingRow = editingRow; if (sourceActionField != null) { sourceActionField.setEditingRow(editingRow); } }
/** * Adds an extended listener. * * @param listener * the listener. */ public void addExtendedInternalFrameListener( IExtendedInternalFrameListener listener) { internalAddListener( ExtendedInternalFrameConstants.EXTENDED_INTERNAL_FRAME_EVENT, listener); }
/** * Adds a value change listener. * * @param listener * the listener to add. */ public void addValueChangedListener(IValueChangedListener listener) { internalAddListener(IUlcEventConstants.VALUE_CHANGED_EVENT, listener); }
/** * Adds a value change listener. * * @param listener * the listener to add. */ public void addValueChangedListener(IValueChangedListener listener) { internalAddListener(IUlcEventConstants.VALUE_CHANGED_EVENT, listener); }
/** * Removes a value change listener. * * @param listener * the listener to remove. */ public void removeValueChangedListener(IValueChangedListener listener) { internalRemoveListener(IUlcEventConstants.VALUE_CHANGED_EVENT, listener); }
/** * Adds a value change listener. * * @param listener * the listener to add. */ public void addValueChangedListener(IValueChangedListener listener) { internalAddListener(IUlcEventConstants.VALUE_CHANGED_EVENT, listener); }
private ULCDurationDataType createDurationDataType( @SuppressWarnings("unused") IDurationPropertyDescriptor propertyDescriptor, Locale locale, @SuppressWarnings("unused") DurationFormatter formatter) { ULCDurationDataType durationDataType = durationDataTypeFactory .getTranslationDataType(locale); return durationDataType; }
private void handlePreparePopup(int row) { if (popupFactory != null) { ULCPopupMenu popupMenu = popupFactory .createPopupForTreepath(getPathForRow(row)); setComponentPopupMenu(popupMenu); } } }
/** * Removes an extended listener. * * @param listener * the listener. */ public void removeExtendedTreeWillExpandListener( IExtendedTreeWillExpandListener listener) { internalRemoveListener( ExtendedInternalFrameConstants.EXTENDED_INTERNAL_FRAME_EVENT, listener); }
/** * Removes an extended listener. * * @param listener * the listener. */ public void removeExtendedInternalFrameListener( IExtendedInternalFrameListener listener) { internalRemoveListener( ExtendedInternalFrameConstants.EXTENDED_INTERNAL_FRAME_EVENT, listener); }
/** * Constructs a new <code>ULCExtendedButton</code> instance. */ public ULCExtendedButton() { super(); setBorder(null); }