|
||||||||||
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.jupe.plugin.JupePlugin
public class JupePlugin
The main plugin class.
Field Summary | |
---|---|
static int |
FULL_CONSISTENCY_CONST
|
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
JupePlugin()
Default Constructor. |
Method Summary | |
---|---|
void |
addJupeNature(org.eclipse.core.resources.IProject project)
Specify a project as Jupe project. |
void |
addJupeProject(JupeProject project)
Adds a Jupe project. |
static JupePlugin |
getDefault()
Returns the shared instance. |
ClassDiagramEditor |
getEditorForDiagram(ClassDiagram classDiagram)
|
java.lang.String |
getID()
Method returns the plugin ID. |
JupeProject |
getJupeProject(org.eclipse.core.resources.IProject project)
Find the Jupe project for a given project. |
JupeProject |
getJupeProject(org.eclipse.uml2.uml.Model uml2Model)
Find the Jupe project for a given UML2 model. |
java.util.Set<JupeProject> |
getJupeProjects()
Get a collection of projects that currently use Jupe. |
boolean |
isPrintDebugMessages()
|
void |
println(java.lang.Object message)
Add a log message. |
void |
removeJupeNature(org.eclipse.core.resources.IProject project)
Remove the Jupe Nature from a project. |
boolean |
removeJupeProject(JupeProject project)
Removes a Jupe project. |
void |
setPrintDebugMessages(boolean enabled)
Method enables/disables printing of debug messages. |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin |
---|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, 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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FULL_CONSISTENCY_CONST
Constructor Detail |
---|
public JupePlugin()
Method Detail |
---|
public static JupePlugin getDefault()
public void addJupeNature(org.eclipse.core.resources.IProject project)
project
- project to add jupe nature
org.eclipse.core.runtime.CoreException
- if an error occurspublic java.lang.String getID()
public boolean isPrintDebugMessages()
true
if printing debug messages is enabled,
false
otherwisepublic void println(java.lang.Object message)
message
- message to logpublic void removeJupeNature(org.eclipse.core.resources.IProject project)
project
- project to remove jupe nature from
org.eclipse.core.runtime.CoreException
- if an error occurspublic void setPrintDebugMessages(boolean enabled)
enabled
- true
to enable printing debug messages, false
otherwisepublic void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void addJupeProject(JupeProject project)
project
- The new Jupe project.public boolean removeJupeProject(JupeProject project)
project
- The Jupe project to remove.
public java.util.Set<JupeProject> getJupeProjects()
public JupeProject getJupeProject(org.eclipse.core.resources.IProject project)
project
- The project whose Jupe project you search.
public JupeProject getJupeProject(org.eclipse.uml2.uml.Model uml2Model)
uml2Model
- The UML2 model whose Jupe project you search.
public ClassDiagramEditor getEditorForDiagram(ClassDiagram classDiagram)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |