|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.jtool.jxplatform.JxPlugin
Manages plug-in's information.
| Field Summary |
| Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
| Constructor Summary | |
JxPlugin()
Creates a UI plug-in runtime object. |
|
| Method Summary | |
static boolean |
checkJapanese()
Tests if this plug-in detects the charset name of input source code before the conversion. |
boolean |
getConvertBinaryFiles()
Tests if the converter generates XML documents from binary files. |
static JxPlugin |
getDefault()
Returns a defult plug-in object. |
static java.lang.String |
getEncoding()
Returns a plugin's encoding. |
static java.lang.String |
getJxFileExt()
Returns the extention of output XML files. |
boolean |
getResolveBindings()
Tests if the converter adds binding information. |
java.util.ResourceBundle |
getResourceBundle()
Returns a resource bundle for the default locale. |
static java.lang.String |
getResourceString(java.lang.String key)
Returns a resource value from a resource file. |
org.eclipse.swt.widgets.Shell |
getShell()
Returns a shell for this workbench site. |
static org.eclipse.core.resources.IWorkspace |
getWorkspace()
Returns a plug-in's workspace. |
void |
setConvertBinaryFiles(boolean convert)
Requests that the converter generates XML documents from binary files. |
void |
setResolveBindings(boolean bindings)
Requests that the converter adds binding information. |
void |
setShell(org.eclipse.swt.widgets.Shell shell)
Sets a shell for this workbench site. |
void |
start(org.osgi.framework.BundleContext context)
refreshes this plug-in's actions when the plug-in is activated. |
void |
stop(org.osgi.framework.BundleContext context)
Saves this plug-in's preference when the plug-in is stopped. |
| Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup |
| 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JxPlugin()
| Method Detail |
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
context - The bundle context for this plug-in.
java.lang.Exception - if this plug-in did not start up properly.
public void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
context - The bundle context for this plug-in.
java.lang.Exception - if this method fails to shut down this plug-in.public static JxPlugin getDefault()
public static org.eclipse.core.resources.IWorkspace getWorkspace()
public static java.lang.String getEncoding()
public static java.lang.String getResourceString(java.lang.String key)
key - The name of a target resource.
public java.util.ResourceBundle getResourceBundle()
public static java.lang.String getJxFileExt()
public static boolean checkJapanese()
true if the detection is required, otherwise false.public void setShell(org.eclipse.swt.widgets.Shell shell)
shell - A shell for this workbench site.public org.eclipse.swt.widgets.Shell getShell()
public void setResolveBindings(boolean bindings)
bindings - true if bindings are wanted.public boolean getResolveBindings()
true if bindings are wanted, otherwise false.public void setConvertBinaryFiles(boolean convert)
convert - true if generation are wanted.public boolean getConvertBinaryFiles()
true if generation is wanted, otherwise false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||