Package org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.undo

Examples of org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.undo.EntityRenameEdit


    @Override
    protected void processNewValue(GraphNodeEditor editor) {
        String oldName = entity.getName();
        String newName = (String) editor.getCellEditorValue();
        if (!oldName.equals(newName)) {
            UndoableEdit edit = new EntityRenameEdit(getController(), entity, newName);
            EntityRenamer renamer = getController().getView().getEntityRenamer(entity);
            if (renamer.setNewName(newName)) {
                getController().fireGraphDataEdit(edit);
            }
        }
View Full Code Here


    protected void processNewValue(GraphNodeEditor editor) {
        EmailMessage email = getNode().getDataObject().getActivity();
        String oldName = email.getName();
        String newName = (String) editor.getCellEditorValue();
        if (!oldName.equals(newName)) {
            UndoableEdit edit = new EntityRenameEdit(getController(), email, newName);
            EntityRenamer renamer = getController().getView().getEntityRenamer(email);
            if (renamer.setNewName(newName)) {
                getController().fireGraphDataEdit(edit);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.interchange.entity.operation.graph2d.undo.EntityRenameEdit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.