Changeset 2695


Ignore:
Timestamp:
Apr 17, 2007, 5:54:38 PM (14 years ago)
Author:
orlov
Message:
  • Don't require other plugins.
  • Slightly improved plugin.xml.
Location:
devel-tools/trunk/eclipse/org.refal.plus.rfpdt.launch
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt.launch/plugin.xml

    r2691 r2695  
    1010            id="org.refal.plus.rfpdt.launch.launchConfigurationType"
    1111            modes="run,debug"
    12             name="org.refal.plus.rfpdt.launch.launchConfigurationType"/>
     12            name="Refal Plus Application"/>
    1313   </extension>
    1414   <extension
     
    1717            class="org.refal.plus.rfpdt.launch.ui.RfpTabGroup"
    1818            id="org.refal.plus.rfpdt.launch.launchConfigurationTabGroup"
    19             type="org.refal.plus.rfpdt.launch.launchConfigurationTabGroup"/>
     19            type="org.refal.plus.rfpdt.launch.launchConfigurationType"/>
    2020   </extension>
    2121
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt.launch/src/org/refal/plus/rfpdt/launch/ui/RfpArgumentsTab.java

    r2691 r2695  
    2424import org.eclipse.swt.widgets.Group;
    2525import org.eclipse.swt.widgets.Text;
    26 import org.refal.plus.rfpdt.core.RfpCorePlugin;
     26//import org.refal.plus.rfpdt.core.RfpCorePlugin;
    2727
    2828public class RfpArgumentsTab extends JavaArgumentsTab {
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt.launch/src/org/refal/plus/rfpdt/launch/ui/RfpLaunchShortcut.java

    r2691 r2695  
    3333import org.eclipse.ui.IEditorPart;
    3434import org.eclipse.ui.dialogs.ElementListSelectionDialog;
    35 import org.refal.plus.rfpdt.core.RfpCorePlugin;
    36 import org.refal.plus.rfpdt.editor.RfpEditor;
     35//import org.refal.plus.rfpdt.core.RfpCorePlugin;
     36//import org.refal.plus.rfpdt.editor.RfpEditor;
    3737import org.refal.plus.rfpdt.launch.IRfpLaunchConfigurationConstants;
    3838import org.refal.plus.rfpdt.launch.LaunchingPlugin;
     
    8585
    8686        protected IFile getResourceFromEditor(IEditorPart part) {
    87                 if (part == null || !(part instanceof RfpEditor))
    88                         return null;
    89                 RfpEditor editor = (RfpEditor) part;
    90                 return null;//((FileDocumentProvider) editor.getDocumentProvider()).getFile();
     87//              if (part == null || !(part instanceof RfpEditor))
     88                        return null;
     89//              RfpEditor editor = (RfpEditor) part;
     90//              ((FileDocumentProvider) editor.getDocumentProvider()).getFile();
    9191        }
    9292
     
    176176                try {
    177177                        //if (project != null)
    178                                 configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, RfpCorePlugin.getPluginId()/*getProject().getName()*/);
     178                                configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_PROJECT_NAME, "Project Name"/*RfpCorePlugin.getPluginId()*//*getProject().getName()*/);
    179179                        IRuntimeClasspathEntry[] entries = new RfpClasspathProvider().computeUnresolvedClasspath(configuration);
    180180                        // Set ATTR_DEFAULT_CLASSPATH to false here, because we want to use
  • devel-tools/trunk/eclipse/org.refal.plus.rfpdt.launch/src/org/refal/plus/rfpdt/launch/ui/RfpTabGroup.java

    r2691 r2695  
    2424import org.eclipse.jface.viewers.IStructuredSelection;
    2525import org.eclipse.ui.IWorkbenchPage;
    26 import org.refal.plus.rfpdt.core.RfpCorePlugin;
     26//import org.refal.plus.rfpdt.core.RfpCorePlugin;
    2727import org.refal.plus.rfpdt.launch.LaunchingPlugin;
    2828
     
    5252                super.setDefaults(config);
    5353                RfpLaunchShortcut helper = new RfpLaunchShortcut();
    54                 RfpCorePlugin project = null;
     54//              RfpCorePlugin project = null;
    5555                IFile resource = this.getResource();
    5656                String pyFilename = "";
     
    8080//                      vmArguments = "\"-Dpython.home=" + jythonHome + "\"";
    8181//              }
    82                 if (project != null) {
    83                         if (vmArguments.length() > 0)
    84                                 vmArguments += " ";
     82//              if (project != null) {
     83//                      if (vmArguments.length() > 0)
     84//                              vmArguments += " ";
    8585//                      vmArguments += "\"-Dpython.path=" + project.getPythonPathProperty() + "\"";
    86                 }
     86//              }
    8787                if (vmArguments.length() > 0)
    8888                        config.setAttribute(
Note: See TracChangeset for help on using the changeset viewer.