RSE
Release 3.4

org.eclipse.rse.ui.open
Class SystemQuickOpenPageDescriptor

java.lang.Object
  extended by org.eclipse.rse.ui.open.SystemQuickOpenPageDescriptor
All Implemented Interfaces:
Comparable

public class SystemQuickOpenPageDescriptor
extends Object
implements Comparable


Field Summary
static String PAGE_TAG
           
static Point UNKNOWN_SIZE
           
 
Constructor Summary
SystemQuickOpenPageDescriptor(IConfigurationElement element)
          Constructor for quick open page descriptor.
 
Method Summary
 int compareTo(Object o)
           
 ISystemQuickOpenPage createObject()
          Creates a new quick open page from the descriptor.
 String getId()
          Returns the id of the page.
 ImageDescriptor getImage()
          Returns the image for the page.
 String getLabel()
          Returns the label of the page.
 Point getPreferredSize()
          Returns the page's preferred size
 int getTabPosition()
          Returns the page's tab position relative to the other tabs.
 boolean isEnabled()
          Returns whether the page is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_TAG

public static final String PAGE_TAG
See Also:
Constant Field Values

UNKNOWN_SIZE

public static final Point UNKNOWN_SIZE
Constructor Detail

SystemQuickOpenPageDescriptor

public SystemQuickOpenPageDescriptor(IConfigurationElement element)
Constructor for quick open page descriptor.

Parameters:
a - configuration element.
Method Detail

createObject

public ISystemQuickOpenPage createObject()
Creates a new quick open page from the descriptor.


getId

public String getId()
Returns the id of the page.

Returns:
the id of the page.

getLabel

public String getLabel()
Returns the label of the page.


getImage

public ImageDescriptor getImage()
Returns the image for the page.


getPreferredSize

public Point getPreferredSize()
Returns the page's preferred size


getTabPosition

public int getTabPosition()
Returns the page's tab position relative to the other tabs.

Returns:
the tab position or Integer.MAX_VALUE if not defined in the plugins.xml file

isEnabled

public boolean isEnabled()
Returns whether the page is enabled.

Returns:
true if the page is enabled, false otherwise.

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable
See Also:
Comparable.compareTo(java.lang.Object)

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.