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

  




 

 

RSE
Release 3.0

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.0

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

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