Examples of PropertySheetPage


Examples of org.eclipse.ui.views.properties.PropertySheetPage

      }
    });
    data = new GridData();
    data.widthHint = 280;
    cmbType.setLayoutData(data);
    propertyPage = new PropertySheetPage();
    Composite container = new Composite(innerComposite, SWT.BORDER);
    data = new GridData(GridData.FILL_BOTH);
    data.horizontalSpan = 2;
    data.heightHint = 170;
    data.horizontalIndent = 36;
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

  {
    if (adapter == DocumentListEntry.class)
      return ((DocsEditorInput)getEditorInput()).getDocument();
   
    if (adapter == IPropertySheetPage.class)
      return new PropertySheetPage();
   
    // TODO: support the Outline view
    if (adapter == IContentOutlinePage.class)
      return null;
   
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

  {
    if (adapter == SpreadsheetEntry.class)
      return ((DocsEditorInput)getEditorInput()).getSpreadsheet();
   
    if (adapter == IPropertySheetPage.class)
      return new PropertySheetPage();
   
    // TODO: support the Outline view
    if (adapter == IContentOutlinePage.class)
      return null;
   
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

    /*
     * (non-Javadoc)
     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
     */
    public void createPartControl( Composite parent ) {
        featureDisplay = new PropertySheetPage();
        featureDisplay.createControl(parent);
        final IMap map = ApplicationGIS.getActiveMap();
        if (map != ApplicationGIS.NO_MAP) {
            try {
                editFeatureChanged(map.getEditManager().getEditFeature());
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

     */
    public IPropertySheetPage getPropertySheetPage() {
        if (propertySheetPage == null) {
            synchronized (mutex) {

                propertySheetPage = new PropertySheetPage(){

                    public void makeContributions( IMenuManager menuManager,
                            IToolBarManager toolBarManager, IStatusLineManager statusLineManager ) {
                        super.makeContributions(menuManager, toolBarManager, statusLineManager);
                    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

            //browserDisplay.getControl().setVisible(false);
        }
        {
            //featureDisplay = new FeatureDisplay();
            //featureDisplay.createDisplay(book);
            featureDisplay = new PropertySheetPage();
            featureDisplay.createControl(book);
            //featureDisplay.getControl().setVisible(false);
        }             
        return book;
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

  private PropertySheetPage featureDisplay;

  private PropertySheetEntry entry;

  public DialogEditor() {
    featureDisplay = new PropertySheetPage();
    entry = new PropertySheetEntry();
    featureDisplay.setRootEntry(entry);
  }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

     *
     * @return An IProperty page for the selected object
     */
    public IPropertySheetPage getPropertySheetPage() {
        if (propertySheetPage == null) {
            propertySheetPage = new PropertySheetPage(){
                public void makeContributions( IMenuManager menuManager,
                        IToolBarManager toolBarManager, IStatusLineManager statusLineManager ) {
                    super.makeContributions(menuManager, toolBarManager, statusLineManager);
                }

View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

        }
    }

    protected PropertySheetPage getPropertySheetPage() {
        if (undoablePropertySheetPage == null) {
            undoablePropertySheetPage = new PropertySheetPage();
            undoablePropertySheetPage.setRootEntry(new UndoablePropertySheetEntry(getCommandStack()));
        }
        return undoablePropertySheetPage;
    }
View Full Code Here

Examples of org.eclipse.ui.views.properties.PropertySheetPage

    public IStatus runInUIThread(IProgressMonitor monitor) {
      Object[] pages = propertySheetPages.toArray();
      propertySheetPages.clear();

      for (int i = 0; i < pages.length; i++) {
        PropertySheetPage page = (PropertySheetPage) pages[i];
        if (page.getControl() != null && !page.getControl().isDisposed()) {
          page.refresh();
        }
      }

      return Status.OK_STATUS;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.