Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Property Sections

Identifier:
org.eclipse.ui.views.properties.tabbed.propertySections

Description:
Describes a list of sections to be displayed within tabs that will be contributed to the tabbed property sheet page.

Configuration Markup:

<!ELEMENT extension ( propertySections)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • point - a fully qualified identifier of the target extension point
  • id - an optional identifier of the extension instance
  • name - an optional name of the extension instance

<!ELEMENT propertySections ( propertySection+)>

<!ATTLIST propertySections

contributorId CDATA #REQUIRED

>

  • contributorId - The unique identifier of the property sheet page contributor.

<!ELEMENT propertySection ( input*)>

<!ATTLIST propertySection

tab          CDATA #REQUIRED

id           CDATA #REQUIRED

class        CDATA #REQUIRED

afterSection CDATA #IMPLIED

filter       CDATA #IMPLIED

enablesFor   CDATA #IMPLIED

>

  • tab - The tab in which this section appears.
  • id - The unique id for the section.
  • class - The class that implements the section, i.e. extends org.eclipse.ui.views.properties.tabbed.AbstractPropertySection
  • afterSection - When there is more than one section in a tab, sections are sorted by the afterSection attribute.
  • filter - The class that implements a section filter, i.e. implements org.eclipse.jface.viewers.IFilter. A filter is used to override the type mapper and input for the selection. When a filter is specified, type mapper and input are ignored.
  • enablesFor - a value indicating the selection count which must be met to enable the section. If specified and the condition is not met, the section is not displayed. If omitted, the section enablement is not affected. The following attribute formats are currently supported:
    n - a precise number of items selected.  For example: enablesFor=" 1" enables the section only when 1 item is selected

<!ELEMENT input EMPTY>

<!ATTLIST input

type CDATA #REQUIRED

>

  • type - The selected class or interface that will enable the display on the section in the tab.

Examples:

   <extension
         point=
"org.eclipse.ui.tests.views.properties.tabbed.propertySections"
>
      <propertySections contributorId=
"org.eclipse.ui.views.properties.tabbed.views.TestsView"
>
         <propertySection
               class=
"org.eclipse.ui.tests.views.properties.tabbed.sections.NameSection"

               enablesFor=
"1"

               id=
"propertySection1"

               tab=
"propertyTab1"
>
            <input type=
"org.eclipse.ui.tests.views.properties.tabbed.model.Element"
>
            </input>
         </propertySection>
      </propertySections>
   </extension>


Copyright (c) 2005, 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire