Exemple #1
0
  static {
    try {

      ViewPreferences.ViewType index = ViewPreferences.ViewType.INGENIAS;
      index = ViewPreferences.ViewType.INGENIAS;

      index = ViewPreferences.ViewType.UML;
      RenderComponentManager.loadRenderFile("Plan", index, "/rendererxml/PlanUMLPanel.xml");

      index = ViewPreferences.ViewType.INGENIAS;
      RenderComponentManager.loadRenderFile("Plan", index, "/rendererxml/PlanINGENIASPanel.xml");

    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
  public CellViewRenderer getRenderer() {
    try {
      return this.renderer;
    } catch (Exception e) {
      e.printStackTrace();
      ingenias.editor.Log.getInstance().log(e.getMessage());
    }

    return renderer;
  }
  static {
    try {

      ViewPreferences.ViewType index = ViewPreferences.ViewType.INGENIAS;
      index = ViewPreferences.ViewType.INGENIAS;

      index = ViewPreferences.ViewType.NOICON;
      RenderComponentManager.loadRenderFile(
          "WFResponsable", index, "/ingenias/editor/rendererxml/WFResponsableNOICONPanel.xml");

      index = ViewPreferences.ViewType.INGENIAS;
      RenderComponentManager.loadRenderFile(
          "WFResponsable", index, "/ingenias/editor/rendererxml/WFResponsableINGENIASPanel.xml");

      index = ViewPreferences.ViewType.LABEL;
      RenderComponentManager.loadRenderFile(
          "WFResponsable", index, "/ingenias/editor/rendererxml/WFResponsableLABELPanel.xml");

    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
  static {
    try {

      ViewPreferences.ViewType index = ViewPreferences.ViewType.INGENIAS;
      index = ViewPreferences.ViewType.INGENIAS;

      index = ViewPreferences.ViewType.UML;
      RenderComponentManager.loadRenderFile(
          "DeploymentUnitByTypeMSEntity",
          index,
          "/ingenias/editor/rendererxml/DeploymentUnitByTypeMSEntityUMLPanel.xml");

      index = ViewPreferences.ViewType.INGENIAS;
      RenderComponentManager.loadRenderFile(
          "DeploymentUnitByTypeMSEntity",
          index,
          "/ingenias/editor/rendererxml/DeploymentUnitByTypeMSEntityINGENIASPanel.xml");

    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
Exemple #5
0
  static {
    try {

      ViewPreferences.ViewType index = ViewPreferences.ViewType.INGENIAS;
      index = ViewPreferences.ViewType.INGENIAS;

      index = ViewPreferences.ViewType.NOICON;
      RenderComponentManager.loadRenderFile(
          "WFConnects", index, "/rendererxml/WFConnectsNOICONPanel.xml");

      index = ViewPreferences.ViewType.INGENIAS;
      RenderComponentManager.loadRenderFile(
          "WFConnects", index, "/rendererxml/WFConnectsINGENIASPanel.xml");

      index = ViewPreferences.ViewType.LABEL;
      RenderComponentManager.loadRenderFile(
          "WFConnects", index, "/rendererxml/WFConnectsLABELPanel.xml");

    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }
Exemple #6
0
 public java.awt.Component getRendererComponent(JGraph jg, boolean b1, boolean b2, boolean b3) {
   CellViewRenderer renderer = null;
   try {
     ingenias.editor.entities.IUIterate ent =
         (ingenias.editor.entities.IUIterate) ((DefaultGraphCell) this.getCell()).getUserObject();
     this.renderer.setEntity(ent, jg.getModel().getAttributes(this.getCell()));
     JPanel uop = (JPanel) this.renderer.getRendererComponent(jg, this, false, false, false);
     return (Component) uop;
   } catch (Exception e) {
     e.printStackTrace();
     ingenias.editor.Log.getInstance().log("WARNING!!!" + e.getMessage());
   }
   return super.getRendererComponent(jg, b1, b2, b3);
 }