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

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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text
Class AbstractReusableInformationControlCreator

java.lang.Object
  extended by 
org.eclipse.jface.text.AbstractReusableInformationControlCreator
All Implemented Interfaces:
EventListener, IInformationControlCreator, IInformationControlCreatorExtension, DisposeListener, org.eclipse.swt.internal.SWTEventListener

public abstract class AbstractReusableInformationControlCreator
extends Object
implements IInformationControlCreator, IInformationControlCreatorExtension, DisposeListener

Abstract class for a reusable information control creators.

Since:
3.3

Constructor Summary
AbstractReusableInformationControlCreator ()
           
 
Method Summary
 boolean canReplace ( IInformationControlCreator creator)
          Tests whether this information control creator can replace the given information control creator.
 boolean canReuse ( IInformationControl control)
          Tests if an existing information control can be reused.
  IInformationControl createInformationControl ( Shell parent)
          Creates a new information control with the given shell as the control's parent.
protected abstract   IInformationControl doCreateInformationControl ( Shell parent)
          Creates the control.
 void widgetDisposed ( DisposeEvent e)
          Sent when the widget is disposed.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractReusableInformationControlCreator

public AbstractReusableInformationControlCreator()
Method Detail

doCreateInformationControl

protected abstract 
IInformationControl doCreateInformationControl(
Shell parent)
Creates the control.

Parameters:
parent - the parent shell
Returns:
the created information control

createInformationControl

public 
IInformationControl createInformationControl(
Shell parent)
Description copied from interface: IInformationControlCreator
Creates a new information control with the given shell as the control's parent.

Specified by:
createInformationControl in interface IInformationControlCreator
Parameters:
parent - the parent shell
Returns:
the created information control

widgetDisposed

public void widgetDisposed(
DisposeEvent e)
Description copied from interface: DisposeListener
Sent when the widget is disposed.

Specified by:
widgetDisposed in interface DisposeListener
Parameters:
e - an event containing information about the dispose

canReuse

public boolean canReuse(
IInformationControl control)
Description copied from interface: IInformationControlCreatorExtension
Tests if an existing information control can be reused.

Specified by:
canReuse in interface IInformationControlCreatorExtension
Parameters:
control - the information control to test
Returns:
true if the control can be reused

canReplace

public boolean canReplace(
IInformationControlCreator creator)
Description copied from interface: IInformationControlCreatorExtension
Tests whether this information control creator can replace the given information control creator. This is the case if the two creators create the same kind of information controls.

Specified by:
canReplace in interface IInformationControlCreatorExtension
Parameters:
creator - the creator to be checked
Returns:
true if the given creator can be replaced, false otherwise

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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