コード例 #1
0
    public CopyAction(UMLDeploymentDiagram d) {

      super(MComponentInstanceImpl.class, d.getName());
      diagram = d;
      ProjectBrowser pb = ProjectBrowser.TheInstance;
      Object target = pb.getDetailsTarget();
      if (target instanceof MClass) {
        orig = (MClass) target;

        System.err.println("--------------------------------" + target.getClass());
      }
    }
コード例 #2
0
 public void doIt() {
   ProjectBrowser pb = ProjectBrowser.TheInstance;
   pb.setTarget(diagram);
   super.doIt();
 }