Package com.google.gdt.eclipse.designer.wizards.model.mvp.CreateViewOperation

Examples of com.google.gdt.eclipse.designer.wizards.model.mvp.CreateViewOperation.ViewConfiguration


      final boolean isCreateEntryPoint,
      final boolean isMvpEntryPoint,
      final boolean isMvpViewJavaTemplate) throws Exception {
    final String VIEW_NAME = "Sample";
    final String clientPackageName = packageName + ".client";
    final ViewConfiguration viewConfiguration = new ViewConfiguration() {
      @Override
      public String getViewPackageName() {
        return clientPackageName + ".ui";
      }
View Full Code Here


      variables.put("className", className);
      // create files from MVP templates
      createMvpFactoryInterface(configuration);
      {
        // create View
        ViewConfiguration viewConfiguration = configuration.getViewConfiguration();
        CreateViewOperation viewOperation = new CreateViewOperation(root);
        viewOperation.create(viewConfiguration);
      }
      createMvpFactoryImplementation(configuration);
      createMvpMappers(configuration);
View Full Code Here

      variables.put("mappersPackageName", getMappersPackageName());
      variables.put("clientFactoryPackageName", getClientFactoryPackageName());
      variables.put("clientFactoryName", getClientFactoryName());
      {
        // add View variables
        ViewConfiguration viewConfiguration = getViewConfiguration();
        if (viewConfiguration != null) {
          variables.putAll(viewConfiguration.getVariables());
        }
      }
      return variables;
    }
View Full Code Here

  // Creation
  //
  ////////////////////////////////////////////////////////////////////////////
  public void createView() throws Exception {
    IPackageFragmentRoot root = viewComposite.getRoot();
    ViewConfiguration configuration = new ViewConfiguration() {
      @Override
      public String getViewName() {
        return viewComposite.getViewName();
      }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.wizards.model.mvp.CreateViewOperation.ViewConfiguration

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.