Package vg.userInterface.utilPlugins

Examples of vg.userInterface.utilPlugins.GraphLayoutManager


      VisualGraph.run();
      SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          try {
            AModel model = new SQLite4JavaModel();// create model
            GraphLayoutManager layoutManager = new GraphLayoutManager();
            SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);// create user interface
            // create plugin parameter--------
            PluginParameter param = new PluginParameter(model, view);
            // adding system functions--------
            layoutManager.install(param);
            new SimpleTabCloser(view);
            new DesktopPlugin().install(param);
            new mxLayoutsRegister(view.getGraphLayoutManager());
            new vg.modules.filter.FilterPlugin().install(param);
            new UndoAndRedo().install(param);
View Full Code Here


      System.out.println("\n[CreatingModule.creatingAllModules]");
      int i;
      System.out.println("Warmup state:");
      for(i = 0; i < 3; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new SimpleTabCloser(view);
        new DesktopPlugin().install(param);
        new mxLayoutsRegister(view.getGraphLayoutManager());
        new FilterPlugin().install(param);
        new UndoAndRedo().install(param);
        new SearchPlugin().install(param);
        new GUIOpener().install(param);
        new JGraphSettings().install(param);
        new LookAndFeelChanger().install(param);
        new NotepadPlugin().install(param);
        new PathSelectingPlugin().install(param);
        new AttributePlugin().install(param);
        new StorablePlugin().install(param);
        new ZoomPlugin().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new SimpleTabCloser(view);
View Full Code Here

      System.out.println("\n[CreatingModule.creatingSimpleTabCloser]");
      int i;
      System.out.println("Warmup state:");
      for(i = 0; i < 3; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        // adding system functions--------
        new SimpleTabCloser(view);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        // adding system functions--------
        long start = new Date().getTime();
        new SimpleTabCloser(view);
        view.quit();
View Full Code Here

      System.out.println("\n[CreatingModule.creatingLookAndFeelChanger]");
      int i;
      System.out.println("Warmup state:");
      for(i = 0; i < 3; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new LookAndFeelChanger().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new LookAndFeelChanger().install(param);
View Full Code Here

      System.out.println("\n[CreatingModule.creatingGraphSettings]");
      int i;
      System.out.println("Warmup state:");
      for(i = 0; i < 3; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new JGraphSettings().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new JGraphSettings().install(param);
View Full Code Here

      VisualGraph.config.setProperty(LookAndFeelChanger.CONF_STYLE, "metal");
      int i;
      System.out.println("Warmup state:");
      for(i = 0; i < 3; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        new LookAndFeelChanger().install(param);
        view.quit();
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        SQLite4JavaModel model = new SQLite4JavaModel();
        GraphLayoutManager layoutManager = new GraphLayoutManager();
        SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
        PluginParameter param = new PluginParameter(model, view);
        // adding system functions--------
        long start = new Date().getTime();
        new LookAndFeelChanger().install(param);
View Full Code Here

        final SQLite4JavaModel model = new SQLite4JavaModel();
        SwingUtilities.invokeAndWait(new Runnable() {
          @Override
          public void run() {
            try {
              GraphLayoutManager layoutManager = new GraphLayoutManager();
              SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
              PluginParameter param = new PluginParameter(model, view);
              new LookAndFeelChanger().install(param);
              view.quit();
            } catch (Exception e) {
            }
          }
        });
       
       
      }
      System.out.println("Stady state: It may take several minutes");
      float best = -1;
      for(i = 0; i < 5; i++) {
        final SQLite4JavaModel model = new SQLite4JavaModel();
        long start = new Date().getTime();
        SwingUtilities.invokeAndWait(new Runnable() {
          @Override
          public void run() {
            try {
              GraphLayoutManager layoutManager = new GraphLayoutManager();
              SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
              PluginParameter param = new PluginParameter(model, view);
              new LookAndFeelChanger().install(param);
              view.quit();
            } catch (Exception e) {
View Full Code Here

    System.out.println("\n[notepad.TestSuite1.createNotepadInNotEDT]");
    Thread t = new Thread(new Runnable() {
      public void run() {
        try {
          SQLite4JavaModel model = new SQLite4JavaModel();
          GraphLayoutManager layoutManager = new GraphLayoutManager();
          SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
          PluginParameter param = new PluginParameter(model, view);
          // adding system functions--------
          System.out.println("Before creation of notepad plugin");
          new NotepadPlugin().install(param);
View Full Code Here

    VisualGraph.setConfiguration(SimpleConfiguration.getInstance());
    VisualGraph.setProgressManager(new SimpleProgressManager());
    try {
      VisualGraph.run();
      SQLite4JavaModel model = new SQLite4JavaModel();
      GraphLayoutManager layoutManager = new GraphLayoutManager();
      SwingUserInterface view = new SwingUserInterface(model, "Welcome to Visual Graph", layoutManager);
      PluginParameter param = new PluginParameter(model, view);
      // adding system functions--------
      new NotepadPlugin().install(param);
      new LookAndFeelChanger().install(param);
View Full Code Here

TOP

Related Classes of vg.userInterface.utilPlugins.GraphLayoutManager

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.