|
|
|
@ -325,8 +325,6 @@ public class SceneApplication extends Application implements LookupProvider { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO: Lookup for Application
|
|
|
|
|
public Lookup createAdditionalLookup(Lookup baseContext) { |
|
|
|
|
return Lookups.fixed(getApplication()); |
|
|
|
@ -477,7 +475,7 @@ public class SceneApplication extends Application implements LookupProvider { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void checkSave(SceneRequest request) { |
|
|
|
|
if ((request != null) |
|
|
|
|
if ((request != null) && request.getDataObject() != null |
|
|
|
|
&& request.getDataObject().isModified()) { |
|
|
|
|
final DataObject req = request.getDataObject(); |
|
|
|
|
Confirmation mesg = new NotifyDescriptor.Confirmation("Scene has not been saved,\ndo you want to save it?", |
|
|
|
@ -658,5 +656,4 @@ public class SceneApplication extends Application implements LookupProvider { |
|
|
|
|
public boolean isAwt() { |
|
|
|
|
return java.awt.EventQueue.isDispatchThread(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|