Examples of View


Examples of net.infonode.docking.View

    /* (non-Javadoc)
     * @see edu.umd.cs.findbugs.gui2.LayoutManager#initialize()
     */
    public void initialize() {
        ViewMap viewMap = new ViewMap();
        topView = new View(L10N.getLocalString("view.bugs", "Bugs"), null, frame.bugListPanel());
        topView.getWindowProperties().setCloseEnabled(false);
        viewMap.addView(0, topView);
        summaryView = new View(L10N.getLocalString("view.bug_summary", "Bug Summary"), null, frame.summaryTab());
        viewMap.addView(1, summaryView);
        commentsView = new View(L10N.getLocalString("view.comments", "Comments"), null, frame.createCommentsInputPanel());
        viewMap.addView(2, commentsView);
        sourceView = new View(L10N.getLocalString("view.source", "Source"), null, frame.createSourceCodePanel());
        viewMap.addView(3, sourceView);

        rootWindow = DockingUtil.createRootWindow(viewMap, true);

        tabs = new TabWindow(new DockingWindow[]{summaryView, commentsView, sourceView});
View Full Code Here

Examples of net.sf.fysix.presentation.view.View

    AffineTransform oldTrans = g2d.getTransform();
    for (WorldObject wo : world.getObjects()) {
      Vector2d pos = wo.getPosition();
      g2d.translate(pos.getX(), pos.getY());
      g2d.rotate(wo.getRotation());
      View view = wo.getView();
      view.render(g2d);
      g2d.setTransform(oldTrans);
    }
    View view = world.getGroundView();
    view.render(g2d);
  }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.model.data.View

      if (views == null) {
        views = new ArrayList<View>();
        org.apache.ddlutils.model.Table tablez[] = database.getTables();
        for (int i = 0; i < tablez.length; i++) {
          if (tablez[i].getType().equals("VIEW")) {
              View view = new ViewDDLUtils (tablez[i]);
              addView(view);
          }
        }
      }
      return (View[])views.toArray(new View[views.size()]);
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.view.View

    super(configurationFile);
  }
 
  @Override
  public AbstractConfiguration getConfigurationRoot() {
    return new View();
  }
View Full Code Here

Examples of net.sf.mpxj.View

      Var2Data viewVarData = new Var2Data(viewVarMeta, new DocumentInputStream(((DocumentEntry) dir.getEntry("Var2Data"))));
      FixedMeta fixedMeta = new FixedMeta(new DocumentInputStream(((DocumentEntry) dir.getEntry("FixedMeta"))), 10);
      FixedData fixedData = new FixedData(138, getEncryptableInputStream(dir, "FixedData"));

      int items = fixedMeta.getItemCount();
      View view;
      ViewFactory factory = new ViewFactory14();

      int lastOffset = -1;
      for (int loop = 0; loop < items; loop++)
      {
View Full Code Here

Examples of net.sourceforge.pebble.web.view.View

    fileManager.saveFile("/", "b.txt", "Some content");

    request.setParameter("path", "/");
    request.setParameter("type", FileMetaData.BLOG_FILE);

    View view = action.process(request, response);

    // check file information available and the right view is returned
    assertEquals(FileMetaData.BLOG_FILE, action.getModel().get("type"));
    FileMetaData fileMetaData = (FileMetaData)action.getModel().get("directory");
    assertEquals("/", fileMetaData.getAbsolutePath());
View Full Code Here

Examples of net.sourceforge.syncyoursecrets.gui.rcp.View

    logger.debug("entering execute");

    // Get the view
    IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
    IWorkbenchPage page = window.getActivePage();
    View view = (View) page.findView(View.ID);

    // get the content provider and fill it with an empty list
    PWListContentProvider contentProvider = (PWListContentProvider) view
        .getContentProvider();
    try {
      contentProvider.createNew();
    } catch (ParserConfigurationException e) {
View Full Code Here

Examples of org.apache.ambari.view.View

   * Add a view definition to the registry.
   *
   * @param definition  the definition
   */
  public void addDefinition(ViewEntity definition) {
    View view = definition.getView();
    if (view != null) {
      view.onDeploy(definition);
    }
    viewDefinitions.put(definition.getName(), definition);
  }
View Full Code Here

Examples of org.apache.ddlutils.model.View

    final String moduleId = (getValidateModule() == null ? null : getValidateModule().getId());
    for (Table adTable : adTables) {
      final org.apache.ddlutils.model.Table dbTable = dbTablesByName.get(adTable.getDBTableName()
          .toUpperCase());
      final View view = dbViews.get(adTable.getDBTableName().toUpperCase());
      if (view == null && dbTable == null) {
        // in Application Dictionary not in Physical Table
        if (moduleId == null
            || (adTable.getDataPackage().getModule() != null && adTable.getDataPackage()
                .getModule().getId().equals(moduleId))) {
          result.addError(SystemValidationResult.SystemValidationType.NOT_EXIST_IN_DB, "Table "
              + adTable.getDBTableName() + " defined in the Application Dictionary"
              + " but is not present in the database");
        }
      } else if (view != null) {
        dbViews.remove(view.getName().toUpperCase());
      } else {
        if (moduleId == null
            || (adTable.getDataPackage().getModule() != null && adTable.getDataPackage()
                .getModule().getId().equals(moduleId))) {
          checkTableWithoutPrimaryKey(dbTable, result);
          checkForeignKeys(dbTable, result);
          checkMaxObjectNameLength(dbTable, result);
        }
        matchColumns(adTable, dbTable, result);
        tmpDBTablesByName.remove(dbTable.getName().toUpperCase());
      }
    }

    // only check this one if the global validate check is done
    for (org.apache.ddlutils.model.Table dbTable : tmpDBTablesByName.values()) {
      // ignore errors related to C_TEMP_SELECTION
      if (!dbTable.getName().toUpperCase().startsWith("C_TEMP_SELECTION")) {
        result.addError(SystemValidationResult.SystemValidationType.NOT_EXIST_IN_AD, "Table "
            + dbTable.getName() + " present in the database "
            + " but not defined in the Application Dictionary");
      }
    }

    if (getValidateModule() == null) {
      for (View view : dbViews.values()) {
        // ignore errors related to C_TEMP_SELECTION
        if (!view.getName().toUpperCase().startsWith("C_TEMP_SELECTION")) {
          result.addWarning(SystemValidationResult.SystemValidationType.NOT_EXIST_IN_AD, "View "
              + view.getName() + " present in the database "
              + " but not defined in the Application Dictionary");
        }
      }
    }
View Full Code Here

Examples of org.apache.deltaspike.jsf.api.config.view.View

            return new DefaultFolderConfigDescriptor(folderAnnotation.name(), node.getSource(),
                    mergedMetaData, node.getCallbackDescriptors());
        }
        else if (ViewConfig.class.isAssignableFrom(sourceClass))
        {
            View viewAnnotation = findMetaDataByType(mergedMetaData, View.class);
            String viewId = viewAnnotation.basePath() + viewAnnotation.name() + "." + viewAnnotation.extension();
            return new DefaultViewPathConfigDescriptor(viewId, node.getSource(),
                    filterInheritedFolderMetaData(mergedMetaData), node.getCallbackDescriptors());
        }
        else
        {
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.