-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add plugin support and fix image size #162
Conversation
The UserOption dialog for plugin path, should probably be converted to a list of the paths and allow the user to edit the list? |
… master-add-plugins
|
||
pluginDir = ViewProperties.getPluginDir(); | ||
if (pluginDir == null) | ||
pluginDir = rootDir; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be rootDir + "/plugin"
to match the default in ViewProperties.java?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, it should just be a default if none are present, situation.
currentDirButton.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false)); | ||
currentDirButton.addSelectionListener(new SelectionAdapter() { | ||
@Override | ||
public void widgetSelected(SelectionEvent e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably just let users select the plugin dir rather than a base directory. I think that will be confusing to a lot of people
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have been thinking more about this, since this proof of implementation. It needs to be a list of paths and editable. At which time I think I will just drop that extra "/plugin" and require the real value.
add user option entry for plugin path
add properties to save plugin path
appends path, but needs to be changed to replacing the path so every open table doesn't increase the number of path variables.
Address #117