pl.edu.agh.cast
Class CastApplication
java.lang.Object
pl.edu.agh.cast.CastApplication
- All Implemented Interfaces:
- org.eclipse.equinox.app.IApplication, IPropertyChangeProvider
public class CastApplication
- extends java.lang.Object
- implements org.eclipse.equinox.app.IApplication, IPropertyChangeProvider
This class controls all aspects of the application's execution
Fields inherited from interface org.eclipse.equinox.app.IApplication |
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_ACTIVE_PROJECT
public static final java.lang.String PROPERTY_ACTIVE_PROJECT
- See Also:
- Constant Field Values
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
KEY_SCHEME_ID
public static final java.lang.String KEY_SCHEME_ID
- See Also:
- Constant Field Values
CastApplication
public CastApplication()
getDisplay
public static org.eclipse.swt.widgets.Display getDisplay()
getClipboard
public static org.eclipse.swt.dnd.Clipboard getClipboard()
getActiveProjectLocation
public static java.lang.String getActiveProjectLocation()
getActiveProject
public static org.eclipse.core.resources.IProject getActiveProject()
setActiveProject
public static void setActiveProject(org.eclipse.core.resources.IProject activeProjectArg)
- Note: should be used only by
ApplicationWorkbenchAdvisor
getActiveShell
public static org.eclipse.swt.widgets.Shell getActiveShell()
confirmationDialog
public static boolean confirmationDialog(java.lang.String title,
java.lang.String message)
errorDialog
public static void errorDialog(java.lang.String title,
java.lang.String message)
warningDialog
public static void warningDialog(java.lang.String title,
java.lang.String message)
informationDialog
public static void informationDialog(java.lang.String title,
java.lang.String message)
questionDialog
public static boolean questionDialog(java.lang.String title,
java.lang.String message)
start
public java.lang.Object start(org.eclipse.equinox.app.IApplicationContext context)
throws java.lang.Exception
- Specified by:
start
in interface org.eclipse.equinox.app.IApplication
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface org.eclipse.equinox.app.IApplication
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
- Description copied from interface:
IPropertyChangeProvider
- Add a property change listener to the object
- Specified by:
addPropertyChangeListener
in interface IPropertyChangeProvider
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
- Description copied from interface:
IPropertyChangeProvider
- Remove a property change listener to the object
- Specified by:
removePropertyChangeListener
in interface IPropertyChangeProvider
getPropertyChangeProvider
public static IPropertyChangeProvider getPropertyChangeProvider()
Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.