Package org.eclipse.gef

Examples of org.eclipse.gef.DefaultEditDomain


    return commandStackListener;
  }

  public EditDomain getEditDomain() {
    if (_editDomain == null)
      _editDomain = new DefaultEditDomain(this);
    return _editDomain;
  }
View Full Code Here


     *
     * @param documentProvider documentProvider must contain Document with rules.
     */
    public ReteViewer(DRLRuleEditor drlEditor) {
        this.drlEditor = drlEditor;
        setEditDomain( new DefaultEditDomain( this ) );
    }
View Full Code Here

  public MeiseEditor() {
    // Design-Idea: early-up instantiation of JAXB to speedup later
    // procedures - increases schwuppdizitaet for user
    // if(!MeiResourceReader.isJaxbInitialized())
    startupJAXBInstance();
    setEditDomain(new DefaultEditDomain(this));
    getPalettePreferences().setDockLocation(PositionConstants.EAST);
    getPalettePreferences().setPaletteState(
        FlyoutPaletteComposite.STATE_PINNED_OPEN);
    getPalettePreferences().setPaletteWidth(150);
  }
View Full Code Here

  /**
   * Create an editor
   */
  public GraphEditor() {
    setEditDomain(new DefaultEditDomain(this));
    getPalettePreferences().setPaletteState(
        FlyoutPaletteComposite.STATE_PINNED_OPEN);
  }
View Full Code Here

    /** Palette component, holding the tools and shapes. */
    private static PaletteRoot PALETTE_MODEL;

    /** Create a new ShapesEditor instance. This is called by the Workspace. */
    public ShapesEditor() {
        setEditDomain(new DefaultEditDomain(this));
    }
View Full Code Here

public class SequenceGraphicalEditor extends GraphicalEditor {
 


  public SequenceGraphicalEditor() {
    setEditDomain(new DefaultEditDomain(this));
  }
View Full Code Here

    private KeyHandler sharedKeyHandler;
    private PaletteRoot root;
    private OverviewOutlinePage overviewOutlinePage;

    public GenericModelEditor() {
        setEditDomain(new DefaultEditDomain(this));
    }
View Full Code Here

    // Initialize layout persistence service
    this.layoutPersistenceService = SapphireDiagramEditorFactory.getLayoutPersistenceService(this.part);
   
        this.configManager = new DiagramConfigurationManager(this);
       
    setEditDomain(new DefaultEditDomain(this));
   
    this.part.attach
        (
            new Listener()
            {
View Full Code Here

        SapphireDiagramEditor diagramEditor = nodePresentation.getConfigurationManager().getDiagramEditor();

        if( diagramEditor != null )
        {
          GraphicalEditPart sourceEditPart = diagramEditor.getGraphicalEditPart(nodePresentation.part());
        DefaultEditDomain editDomain = diagramEditor.getEditDomain();
        DiagramNodeConnectionCreationTool connectionTool = new DiagramNodeConnectionCreationTool();
        connectionTool.setEditDomain(editDomain);
        editDomain.setActiveTool(connectionTool);
       
        connectionTool.continueConnection(sourceEditPart, diagramEditor, connectionDef);

        }
    return null;
View Full Code Here

     *
     * @param documentProvider documentProvider must contain Document with rules.
     */
    public ReteViewer(DRLRuleEditor drlEditor) {
        this.drlEditor = drlEditor;
        setEditDomain( new DefaultEditDomain( this ) );
    }
View Full Code Here

TOP

Related Classes of org.eclipse.gef.DefaultEditDomain

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.