|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.runtime.Plugin org.eclipse.ui.plugin.AbstractUIPlugin edu.stanford.hci.dtools.DtoolsPlugin
public class DtoolsPlugin
The plugin class (singleton).
This instance can be shared between all extensions in the plugin. Information shared between extensions can be persisted by using the PreferenceStore.
This software is distributed under the
BSD License.
This code is partially based on code that is copyright (c) 2004 Elias Volanakis. See License.txt
Field Summary | |
---|---|
static java.lang.String |
EVENT_DISPLAY
|
static java.lang.String |
EVENT_OSC_IN
|
static java.lang.String |
EVENT_OSC_OUT
|
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
DtoolsPlugin()
The constructor. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Attach a non-null PropertyChangeListener to this object. |
void |
addPropertyChangeListener(java.lang.String str,
java.beans.PropertyChangeListener l)
Attach a non-null PropertyChangeListener to this object. |
void |
firePropertyChange(java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
Report a property change to registered listeners (for example edit parts). |
DeviceEditor |
getActiveDeviceEditor()
|
StatechartEditor |
getActiveStatechartEditor()
|
static DtoolsPlugin |
getDefault()
Returns the shared plugin instance. |
HardwareInputDispatcher |
getHardwareInputDispatcher()
|
HardwareOutputDispatcher |
getHardwareOutputDispatcher()
|
ImageCache |
getImageCache()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a PropertyChangeListener from this component. |
void |
setHardwareInputDispatcher(HardwareInputDispatcher in)
|
void |
setHardwareOutputDispatcher(HardwareOutputDispatcher out)
|
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, start, startup, stop |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EVENT_DISPLAY
public static final java.lang.String EVENT_OSC_IN
public static final java.lang.String EVENT_OSC_OUT
Constructor Detail |
---|
public DtoolsPlugin()
Method Detail |
---|
public static DtoolsPlugin getDefault()
public ImageCache getImageCache()
public HardwareInputDispatcher getHardwareInputDispatcher()
public HardwareOutputDispatcher getHardwareOutputDispatcher()
public void setHardwareInputDispatcher(HardwareInputDispatcher in)
public void setHardwareOutputDispatcher(HardwareOutputDispatcher out)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l
- a non-null PropertyChangeListener instance
java.lang.IllegalArgumentException
- if the parameter is nullpublic void addPropertyChangeListener(java.lang.String str, java.beans.PropertyChangeListener l)
l
- a non-null PropertyChangeListener instance
java.lang.IllegalArgumentException
- if the parameter is nullpublic void firePropertyChange(java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)
property
- the programmatic name of the property that changedoldValue
- the old value of this propertynewValue
- the new value of this propertypublic void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l
- a PropertyChangeListener instancepublic StatechartEditor getActiveStatechartEditor()
public DeviceEditor getActiveDeviceEditor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |