[
https://jira.jboss.org/jira/browse/JBIDE-3344?page=com.atlassian.jira.plu...
]
Max Rydahl Andersen reopened JBIDE-3344:
----------------------------------------
Maybe I misunderstood you, but I thought this preference were only to be set on a new
workspace.
Looking in the code the preference override is done on every start of the plugin...that
means if users go and customize it they will loose those settings when they restart
eclipse.
/**
* This method is called upon plug-in activation
*/
public void start(BundleContext context) throws Exception {
super.start(context);
Preferences prefs = getPluginPreferences();
if( !prefs.getBoolean(IPreferenceKeys.ENABLED_DECORATORS)) {
IDecoratorManager manager = WorkbenchPlugin.getDefault().getDecoratorManager();
manager.setEnabled("org.jboss.tools.as.wst.server.ui.navigatorDecorator",
true);
manager.setEnabled("org.jboss.ide.eclipse.as.ui.extensions.xml.decorator",
true);
prefs.setValue(IPreferenceKeys.ENABLED_DECORATORS, true);
}
if( !prefs.getBoolean(IPreferenceKeys.DISABLE_SHOW_SERVER_VIEW)) {
new ServerUIPreferences().setShowOnActivity(false);
prefs.setValue(IPreferenceKeys.DISABLE_SHOW_SERVER_VIEW, true);
}
savePluginPreferences();
}
Or am I reading the code wrong ?
When starting jboss as from JBoss server view, the wtp server view
opens
------------------------------------------------------------------------
Key: JBIDE-3344
URL:
https://jira.jboss.org/jira/browse/JBIDE-3344
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.beta1
Environment: Eclipse 3.4.1, WTP 3.0.3 jboss tools N200812031910
Reporter: Adrian Mitev
Assignee: Rob Stryker
Fix For: 3.0.0.cr1
This is very annoying because i don't need the wtp server view. The problem appears
on brand new workspace, if i use older workspace (created with build from 20081120) the
problem does not appear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira