/** * Adds the specified value to the history. * * @param obj the object to add to the history * @return true if successfully added (i.e., if editor is a GOE) */ public boolean addToHistory(Object obj) { if ((m_Editor instanceof GenericObjectEditor) && (obj != null)) { ((GenericObjectEditor) m_Editor).getHistory().add(obj); return true; } return false; } }
/** * Adds the specified value to the history. * * @param obj the object to add to the history * @return true if successfully added (i.e., if editor is a GOE) */ public boolean addToHistory(Object obj) { if ((m_Editor instanceof GenericObjectEditor) && (obj != null)) { ((GenericObjectEditor) m_Editor).getHistory().add(obj); return true; } return false; } }
((GenericObjectEditor) m_Editor).getHistory().customizePopupMenu( menu, m_Editor.getValue(), new HistorySelectionListener() { @Override
((GenericObjectEditor) m_Editor).getHistory().customizePopupMenu( menu, m_Editor.getValue(), new HistorySelectionListener() { @Override