org.eclipse.rse.ui.open
Class SystemQuickOpenPageDescriptor
java.lang.Object
org.eclipse.rse.ui.open.SystemQuickOpenPageDescriptor
-
All Implemented Interfaces:
-
Comparable
-
public class SystemQuickOpenPageDescriptor
- extends
Object
- implements
Comparable
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
PAGE_TAG
public static final
String PAGE_TAG
-
See Also:
-
Constant Field Values
UNKNOWN_SIZE
public static final
Point UNKNOWN_SIZE
SystemQuickOpenPageDescriptor
public SystemQuickOpenPageDescriptor(
IConfigurationElement element)
- Constructor for quick open page descriptor.
-
Parameters:
-
a
- configuration element.
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)
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.