File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
sources/net.sf.j2s.ui/src/net/sf/j2s/ui/property Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -73,23 +73,10 @@ public J2SAddInnerJarAction(J2SConfigPage page) {
73
73
}
74
74
75
75
public void widgetSelected (SelectionEvent e ) {
76
- IWorkspaceRoot root = ResourcesPlugin .getWorkspace ().getRoot ();
77
- String rootPath = root .getLocation ().toOSString ();
78
- String rootTruePath = new File (rootPath ).getAbsolutePath ();
79
- String j2sPath = page .j2sFile .getAbsolutePath ();
80
- String prjName = null ;
81
- if (j2sPath .startsWith (rootTruePath )) {
82
- j2sPath = j2sPath .substring (rootTruePath .length ());
83
- if (j2sPath .startsWith (File .separator )) {
84
- j2sPath = j2sPath .substring (1 );
85
- }
86
- prjName = j2sPath .substring (0 , j2sPath .indexOf (File .separatorChar ));
87
- }
88
76
ILabelProvider lp = new LabelProvider () {
89
77
90
78
public String getText (Object element ) {
91
79
if (element instanceof J2SLibrary []) {
92
- //J2SLibrary[] libs = (J2SLibrary[]) element;
93
80
return "Inner JS Library" ;
94
81
} else if (element instanceof J2SLibrary ) {
95
82
J2SLibrary lib = (J2SLibrary ) element ;
You can’t perform that action at this time.
0 commit comments