Package org.eclipse.gmf.runtime.diagram.core.services.view

Examples of org.eclipse.gmf.runtime.diagram.core.services.view.CreateDiagramViewOperation


        return false;
      }
      boolean result = ViewService
          .getInstance()
          .provides(
              new CreateDiagramViewOperation(
                  new EObjectAdapter(selectedModelElement),
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.edit.parts.ProjectEditPart.MODEL_ID,
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.JadexAgentsDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT));
      setErrorMessage(result ? null
          : es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.Messages.JadexAgentsNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage);
View Full Code Here


        return false;
      }
      boolean result = ViewService
          .getInstance()
          .provides(
              new CreateDiagramViewOperation(
                  new EObjectAdapter(selectedModelElement),
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.edit.parts.ProjectEditPart.MODEL_ID,
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.JadexAgentsDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT));
      setErrorMessage(result ? null
          : es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.Messages.JadexAgentsNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage);
View Full Code Here

        return false;
      }
      boolean result = ViewService
          .getInstance()
          .provides(
              new CreateDiagramViewOperation(
                  new EObjectAdapter(selectedModelElement),
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.edit.parts.ProjectEditPart.MODEL_ID,
                  es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.JadexAgentsDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT));
      setErrorMessage(result ? null
          : es.upm.dit.gsi.eclipse.jadex.diagram.eclipseJadex.diagram.part.Messages.JadexAgentsNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage);
View Full Code Here

      if (selectedModelElement == null) {
        setErrorMessage(Messages.Fd2NewDiagramFileWizard_RootSelectionPageNoSelectionMessage);
        return false;
      }
      boolean result = ViewService.getInstance().provides(
          new CreateDiagramViewOperation(new EObjectAdapter(
              selectedModelElement), DiagramEditPart.MODEL_ID,
              Fd2DiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT));
      setErrorMessage(result ? null
          : Messages.Fd2NewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage);
      return result;
View Full Code Here

TOP

Related Classes of org.eclipse.gmf.runtime.diagram.core.services.view.CreateDiagramViewOperation

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.