コード例 #1
0
ファイル: PlanRenderer.java プロジェクト: escalope/IDK
 public Component getRendererComponent(
     JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) {
   return RenderComponentManager.retrievePanel(
       "Plan",
       ((Entity) ((DefaultGraphCell) (view.getCell())).getUserObject())
           .getPrefs(graph.getModel().getAttributes(view.getCell()))
           .getView());
 }
コード例 #2
0
 public Component getRendererComponent(
     JGraph graph, CellView view, boolean sel, boolean focus, boolean preview) {
   return RenderComponentManager.retrievePanel(
       "DeploymentUnitByTypeMSEntity",
       ((Entity) ((DefaultGraphCell) (view.getCell())).getUserObject()).getPrefs().getView());
 }