Пример #1
0
 /** {@link ContextMenusInPEView} is a singleton, but inheritance is possible. */
 public static ContextMenusInPEView getInstance() {
   if (self != null) return self;
   self = new ContextMenusInPEView();
   teamC = TeamC.getInstance();
   reafactorC = RefactorC.getInstance();
   newC = NewC.getInstance();
   shareWithC = ShareWithC.getInstance();
   return self;
 }
Пример #2
0
 public ITeamC team() throws RemoteException {
   teamC.setTreeItem(treeItem);
   return teamC;
 }