Examples of UndoablePropertySheetEntry


Examples of org.eclipse.gef.ui.properties.UndoablePropertySheetEntry

    }

    protected PropertySheetPage getPropertySheetPage() {
        if (undoablePropertySheetPage == null) {
            undoablePropertySheetPage = new PropertySheetPage();
            undoablePropertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
        }
        return undoablePropertySheetPage;
    }
View Full Code Here

Examples of org.eclipse.gef.ui.properties.UndoablePropertySheetEntry

        @Override
        public IPropertySource getPropertySource(final Object object) {
          return new ScannedMapPropertySource((ScannedMap) object);
        }
      });
      _propertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
    }
    return _propertySheetPage;
  }
View Full Code Here

Examples of org.eclipse.gef.ui.properties.UndoablePropertySheetEntry

        @Override
        public IPropertySource getPropertySource(final Object object) {
          return new ScannedMapPropertySource((ScannedMap) object);
        }
      });
      _propertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
    }
    return _propertySheetPage;
  }
View Full Code Here

Examples of org.eclipse.gef.ui.properties.UndoablePropertySheetEntry

  protected Object openDialogBox(Control cellEditorWindow) {
    Display display = cellEditorWindow.getDisplay();
    TitleAreaDialog dialog = null;
    Object data = cellEditorWindow.getParent().getData();
    if(data instanceof UndoablePropertySheetEntry) {
      UndoablePropertySheetEntry upse = (UndoablePropertySheetEntry) data;
      for(IPropertySheetEntry childEntry : upse.getChildEntries()) {
        if(childEntry.getDisplayName().equals(StringConstants.NOTE_ARTIC) && childEntry instanceof UndoablePropertySheetEntry){
          display.setData(StringConstants.NOTE_ARTIC, ((UndoablePropertySheetEntry)childEntry).getValueAsString());
          break;
        }
      }
View Full Code Here

Examples of org.eclipse.gef.ui.properties.UndoablePropertySheetEntry

    return super.getAdapter(type);
  }

  protected IPropertySheetPage getPropertySheetPage() {
    PropertySheetPage page = new PropertySheetPage();
    page.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
    return page;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.