Package org.eclipse.ui

Examples of org.eclipse.ui.IViewLayout


                stickyFolderBottom.addPlaceholder(id);
                break;
            }

            //should never be null as we've just added the view above
            IViewLayout viewLayout = layout.getViewLayout(id);
            viewLayout.setCloseable(stickyViewDescriptor.isCloseable());
            viewLayout.setMoveable(stickyViewDescriptor.isMoveable());
        }

        // Run layout engine.
        factory.createInitialLayout(layout);
        PerspectiveExtensionReader extender = new PerspectiveExtensionReader();
View Full Code Here


        } else {
          pageLayout.addPlaceholder(id, intRelation, ratio, relative);
        }
      }
        }
        IViewLayout viewLayout = pageLayout.getViewLayout(id);
        // may be null if it's been filtered by activity
        if (viewLayout != null) {
      if (closeable != null) {
        viewLayout.setCloseable(!VAL_FALSE.equals(closeable));
      }
      if (moveable != null) {
        viewLayout.setMoveable(!VAL_FALSE.equals(moveable));
      }
    }

        return true;
    }
View Full Code Here

  }

  private void addView(IPageLayout parent, IFolderLayout folder, String viewid)
  {
    folder.addView(viewid);
    IViewLayout layout = parent.getViewLayout(viewid);
    if (layout != null)
    {
      layout.setCloseable(true);
      layout.setMoveable(true);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IViewLayout

Copyright © 2018 www.massapicom. 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.